Esempio n. 1
0
 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#photo', 'http://schemas.google.com/g/2005#kind');
     $this->setCategory(array($category));
 }
Esempio n. 2
0
 /**
  * Creates a subscription entry, representing an individual subscription
  * in a list of subscriptions, usually associated with an individual user.
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces);
     parent::__construct($element);
 }
Esempio n. 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#photo', 'http://schemas.google.com/g/2005#kind');
     $this->setCategory(array($category));
 }