/**
  * 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_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));
 }
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.
  *
  * @param DOMElement $element (optional) The DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct($element);
 }
示例#3
0
 /**
  * Create a new instance.
  * 
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     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));
 }
示例#4
0
 /**
  * Constructor for Zend_Gdata_Books_CollectionEntry which
  * Describes an entry in a feed of collections
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_Books::$namespaces);
     parent::__construct($element);
 }
示例#5
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);
 }
示例#6
0
 /**
  * @see Zend_Gdata_Entry::__construct()
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(HCMS_Gdata_Analytics::$namespaces);
     parent::__construct($element);
 }
示例#7
0
文件: Entry.php 项目: relue/magento2
 /**
  * Constructs a new Varien_Gdata_Gshopping_Entry object.
  * @param DOMElement $element The DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Varien_Gdata_Gshopping_Content::$namespaces);
     parent::__construct($element);
 }
示例#8
0
 /**
  * Constructs a new \Magento\Framework\Gdata\Gshopping\Entry object.
  *
  * @param \DOMElement $element The \DOMElement on which to base this object.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(\Magento\Framework\Gdata\Gshopping\Content::$namespaces);
     parent::__construct($element);
 }