示例#1
0
 /**
  * Constructs a new Link object.
  * @see ZendGData\App\Extension\Link#__construct
  * @param Webcontent $webContent
  */
 public function __construct($href = null, $rel = null, $type = null, $hrefLang = null, $title = null, $length = null, WebContent $webContent = null)
 {
     $this->registerAllNamespaces(\ZendGData\Calendar::$namespaces);
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
     $this->_webContent = $webContent;
 }
示例#2
0
 /**
  * Constructs a new ZendGData\YouTube\Extension\Link object.
  * @see ZendGData\App\Extension\Link#__construct
  * @param \ZendGData\YouTube\Extension\Token $token
  */
 public function __construct($href = null, $rel = null, $type = null, $hrefLang = null, $title = null, $length = null, $token = null)
 {
     $this->registerAllNamespaces(\ZendGData\YouTube::$namespaces);
     parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
     $this->_token = $token;
 }