示例#1
0
 /**
  * Creates a Health Profile feed, representing a user's Health profile
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     foreach (Health::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct($element);
 }
示例#2
0
文件: VolumeFeed.php 项目: rexmac/zf2
 /**
  * Constructor for Zend_Gdata_Books_VolumeFeed which
  * Describes a Book Search volume feed
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Books::$namespaces);
     parent::__construct($element);
 }
示例#3
0
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(GData\Analytics::$namespaces);
     parent::__construct($element);
 }