示例#1
0
文件: Link.php 项目: nhp/shopware-4
 /**
  * Constructs a new Zend_Gdata_Calendar_Extension_Link object.
  * @see Zend_Gdata_App_Extension_Link#__construct
  * @param Zend_Gdata_YouTube_Extension_Token $token
  */
 public function __construct($href = null, $rel = null, $type = null,
         $hrefLang = null, $title = null, $length = null, $token = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces);
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
     $this->_token = $token;
 }
示例#2
0
文件: Link.php 项目: nhp/shopware-4
 /**
  * Constructs a new Zend_Gdata_Calendar_Extension_Link object.
  * @see Zend_Gdata_App_Extension_Link#__construct
  * @param Zend_Gdata_Calendar_Extension_Webcontent $webContent
  */
 public function __construct($href = null, $rel = null, $type = null,
         $hrefLang = null, $title = null, $length = null, $webContent = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_Calendar::$namespaces);
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
     $this->_webContent = $webContent;
 }
示例#3
0
 /**
  * Constructor for Zend_Gdata_Books_Extension_BooksLink which
  * Extends the base Link class with Books extensions
  *
  * @param string|null $href Linked resource URI
  * @param string|null $rel Forward relationship
  * @param string|null $type Resource MIME type
  * @param string|null $hrefLang Resource language
  * @param string|null $title Human-readable resource title
  * @param string|null $length Resource length in octets
  */
 public function __construct($href = null, $rel = null, $type = null, $hrefLang = null, $title = null, $length = null)
 {
     foreach (Zend_Gdata_Books::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
 }
示例#4
0
 /**
  * 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($href = null, $rel = null, $type = null, $hrefLang = null, $title = null, $length = null, $text = null, $_url = null, $_height = null, $_width = null)
 {
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length, $text);
     foreach (Zend_Gdata_Calendar::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     $this->_url = $url;
     $this->_height = $height;
     $this->_width = $width;
 }