Author: chabotc
Date: Mon Sep 8 15:52:28 2008
New Revision: 693310
URL: http://svn.apache.org/viewvc?rev=693310&view=rev
Log:
Add linkText to Url constructor
Modified:
incubator/shindig/trunk/php/src/social-api/opensocial/model/Url.php
Modified: incubator/shindig/trunk/php/src/social-api/opensocial/model/Url.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social-api/opensocial/model/Url.php?rev=693310&r1=693309&r2=693310&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/social-api/opensocial/model/Url.php
(original)
+++ incubator/shindig/trunk/php/src/social-api/opensocial/model/Url.php Mon Sep
8 15:52:28 2008
@@ -26,6 +26,14 @@
public $linkText;
public $type;
public $primary;
+
+ public function __construct($value, $type, $linkText, $primary = null)
+ {
+ $this->value = $value;
+ $this->type = $type;
+ $this->linkText = $linkText;
+ $this->primary = $primary;
+ }
public function getLinkText()
{