示例#1
0
 public function __construct($name = null, $title = null, $rel = 'other')
 {
     parent::__construct();
     $this->_rel = $rel;
     if ($name != null) {
         $this->_orgName = new Zend_Gdata_Contacts_Extension_OrgName($name);
     }
     if ($title != null) {
         $this->_orgTitle = new Zend_Gdata_Contacts_Extension_OrgTitle($title);
     }
 }
 public function __construct($value = null, $rel = 'work')
 {
     parent::__construct();
     $this->_rel = $rel;
     $this->_formattedAddress = new Zend_Gdata_Contacts_Extension_FormattedAddress($value);
     $this->_city = new Zend_Gdata_Contacts_Extension_City($value);
     $this->_country = new Zend_Gdata_Contacts_Extension_Country($value);
     $this->_pobox = new Zend_Gdata_Contacts_Extension_Pobox($value);
     $this->_postcode = new Zend_Gdata_Contacts_Extension_Postcode($value);
     $this->_region = new Zend_Gdata_Contacts_Extension_Region($value);
 }
示例#3
0
 public function __construct($value = null)
 {
     parent::__construct();
     $this->_fullName = new Zend_Gdata_Contacts_Extension_Name_FullName($value);
 }
 public function __construct($value = null, $rel = 'work')
 {
     parent::__construct();
     $this->_rel = $rel;
     $this->_formattedAddress = new Zend_Gdata_Contacts_Extension_FormattedAddress($value);
 }
示例#5
0
 public function __construct($value = null, $rel = 'work')
 {
     parent::__construct($value);
     $this->_rel = $rel;
 }