/** * Constructs a new Zend_Gdata_Calendar_Extension_Control object. * @see Zend_Gdata_App_Extension_Control#__construct * @param Zend_Gdata_App_Extension_Draft $draft * @param Zend_Gdata_YouTube_Extension_State $state */ public function __construct($draft = null, $state = null) { foreach (Zend_Gdata_YouTube::$namespaces as $nsPrefix => $nsUri) { $this->registerNamespace($nsPrefix, $nsUri); } parent::__construct($draft); $this->_state = $state; }
/** * Constructs a new Zend_Gdata_Calendar_Extension_Control object. * @see Zend_Gdata_App_Extension_Control#__construct * @param Zend_Gdata_App_Extension_Draft $draft * @param Zend_Gdata_YouTube_Extension_State $state */ public function __construct($draft = null, $state = null) { $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces); parent::__construct($draft); $this->_state = $state; }
/** * Create instance of class * * @param array $destinations Map destination's names to mode (DEST_MODE_*) * @param Zend_Gdata_App_Extension_Draft|null $draft Draft extension */ public function __construct(array $destinations = array(), $draft = null) { $this->registerAllNamespaces(Varien_Gdata_Gshopping_Content::$namespaces); parent::__construct($draft); $this->_destinations = $destinations; }
/** * Create instance of class * * @param array $destinations Map destination's names to mode (DEST_MODE_*) * @param \Zend_Gdata_App_Extension_Draft|null $draft Draft extension */ public function __construct(array $destinations = [], $draft = null) { $this->registerAllNamespaces(\Magento\Framework\Gdata\Gshopping\Content::$namespaces); parent::__construct($draft); $this->_destinations = $destinations; }