/** * Constructs a new Zend_Gdata_Calendar_Extension_WebContent object. * @param string $url (optional) The value for this element's URL attribute. * @param string $height (optional) The value for this element's height attribute. * @param string $width (optional) The value for this element's width attribute. */ public function __construct($url = null, $height = null, $width = null) { $this->registerAllNamespaces(\Zend\GData\Calendar\Calendar::$namespaces); parent::__construct(); $this->_url = $url; $this->_height = $height; $this->_width = $width; }
public function __construct() { /* NOTE: namespaces must be registered before calling parent */ $this->registerNamespace('gd', 'http://schemas.google.com/g/2005'); $this->registerNamespace('openSearch', 'http://a9.com/-/spec/opensearchrss/1.0/', 1, 0); $this->registerNamespace('openSearch', 'http://a9.com/-/spec/opensearch/1.1/', 2, 0); $this->registerNamespace('rss', 'http://blogs.law.harvard.edu/tech/rss'); parent::__construct(); }
/** * Constructs a new Zend_Gdata_YouTube_Extension_Token object. */ public function __construct($text = null) { $this->registerAllNamespaces(\Zend\GData\YouTube\YouTube::$namespaces); parent::__construct(); $this->_text = $text; }