Example #1
0
 /**
  * Returns Google contacts batch
  *
  * @return Eden_Google_Contacts_Batch
  */
 public function batch()
 {
     return Eden_Google_Contacts_Batch::i($this->_token);
 }
Example #2
0
if(!class_exists('Eden_Google_Contacts')){class Eden_Google_Contacts extends Eden_Google_Base{public static function i(){return self::_getMultiple(__CLASS__);}public function __construct($token){Eden_Google_Error::i()->argument(1,'string');$this->_token=$token;}public function batch(){return Eden_Google_Contacts_Batch::i($this->_token);}public function data(){return Eden_Google_Contacts_Data::i($this->_token);}public function groups(){return Eden_Google_Contacts_Groups::i($this->_token);}public function photo(){return Eden_Google_Contacts_Photo::i($this->_token);}}}