示例#1
0
 /**
  * Create a new instance.
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Photos::$namespaces);
     parent::__construct($element);
     $category = new \Zend\GData\App\Extension\Category('http://schemas.google.com/photos/2007#comment', 'http://schemas.google.com/g/2005#kind');
     $this->setCategory(array($category));
 }
示例#2
0
 /**
  * Constructs a new Zend_Gdata_Health_ProfileEntry object.
  * @param DOMElement $element (optional) The DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     foreach (Health::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct($element);
 }
示例#3
0
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_SpreadsheetEntry object.
  * @param DOMElement $element (optional) The DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Spreadsheets::$namespaces);
     parent::__construct($element);
 }
示例#4
0
 /**
  * Constructs a new Zend_Gdata_YouTube_CommentEntry object.
  * @param DOMElement $element (optional) The DOMElement on which to
  * base this object.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(YouTube::$namespaces);
     parent::__construct($element);
 }
示例#5
0
 /**
  * @see Zend_Gdata_Entry::__construct()
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(GData\Analytics::$namespaces);
     parent::__construct($element);
 }
示例#6
0
 /**
  * Create a new instance.
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps::$namespaces);
     parent::__construct($element);
 }
示例#7
0
 /**
  * Constructs a new Zend_Gdata_Health_ProfileListEntry object.
  * @param DOMElement $element (optional) The DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     parent::__construct($element);
 }
示例#8
0
 /**
  * Create a new instance.
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_Gapps::$namespaces);
     parent::__construct($element);
 }