You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by ch...@apache.org on 2009/07/08 16:09:28 UTC
svn commit: r792144 -
/incubator/shindig/trunk/php/src/social/model/Address.php
Author: chabotc
Date: Wed Jul 8 14:09:28 2009
New Revision: 792144
URL: http://svn.apache.org/viewvc?rev=792144&view=rev
Log:
Adds poBox, extendedAddress and unstructuredAddress fields to Address
Modified:
incubator/shindig/trunk/php/src/social/model/Address.php
Modified: incubator/shindig/trunk/php/src/social/model/Address.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social/model/Address.php?rev=792144&r1=792143&r2=792144&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/social/model/Address.php (original)
+++ incubator/shindig/trunk/php/src/social/model/Address.php Wed Jul 8 14:09:28 2009
@@ -34,12 +34,39 @@
public $type;
public $formatted;
public $primary;
+ public $poBox;
+ public $extendedAddress;
+ public $unstructuredAddress;
public function __construct($formatted, $primary = null) {
$this->formatted = $formatted;
$this->primary = $primary;
}
+ public function getPoBox() {
+ return $this->poBox;
+ }
+
+ public function setPoBox($poBox) {
+ $this->poBox = $poBox;
+ }
+
+ public function getExtendedAddress() {
+ return $this->extendedAddress;
+ }
+
+ public function setExtendedAddress($extendedAddress) {
+ $this->extendedAddress = $extendedAddress;
+ }
+
+ public function getUnstructuredAddress() {
+ return $this->unstructuredAddress;
+ }
+
+ public function setUnstructuredAddress($unstructuredAddress) {
+ $this->unstructuredAddress = $unstructuredAddress;
+ }
+
public function getCountry() {
return $this->country;
}