Esempio n. 1
0
 /**
  * Constructs a new MediaRating element
  *
  * @param string $text
  * @param string $scheme
  */
 public function __construct($text = null, $scheme = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
     $this->_scheme = $scheme;
     $this->_text = $text;
 }
Esempio n. 2
0
 /**
  * Constructs a new Zend_Gdata_GApps_Extension_Name object.
  *
  * @param string $familyName (optional) The familyName to be set for this
  *          object.
  * @param string $givenName (optional) The givenName to be set for this
  *          object.
  */
 public function __construct($familyName = null, $givenName = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps\GApps::$namespaces);
     parent::__construct();
     $this->_familyName = $familyName;
     $this->_givenName = $givenName;
 }
Esempio n. 3
0
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_Extension_Custom object.
  * @param string $column (optional) The column/tag name of the element.
  * @param string $value (optional) The text content of the element.
  */
 public function __construct($column = null, $value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Spreadsheets\Spreadsheets::$namespaces);
     parent::__construct();
     $this->_text = $value;
     $this->_rootElement = $column;
 }
Esempio n. 4
0
 /**
  * Constructor for Zend_Gdata_Books_Extension_Review which
  * User-provided review
  *
  * @param string|null $lang Review language.
  * @param string|null $type Type of text construct (typically text, html,
  *        or xhtml).
  * @param string|null $value Text content of the review.
  */
 public function __construct($lang = null, $type = null, $value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Books\Books::$namespaces);
     parent::__construct();
     $this->_lang = $lang;
     $this->_type = $type;
     $this->_text = $value;
 }
Esempio n. 5
0
 /**
  * Constructs a new MediaPlayer element
  *
  * @param string $url
  * @param int $width
  * @param int $height
  */
 public function __construct($url = null, $width = null, $height = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
     $this->_url = $url;
     $this->_width = $width;
     $this->_height = $height;
 }
Esempio n. 6
0
 /**
  * Constructs a new MediaRestriction element
  *
  * @param string $text
  * @param string $relationship
  * @param string $type
  */
 public function __construct($text = null, $relationship = null, $type = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_relationship = $relationship;
     $this->_type = $type;
 }
Esempio n. 7
0
 /**
  * Constructs a new Zend_Gdata_YouTube_Extension_State object.
  *
  * @param string $explanation(optional) The explanation of this state
  * @param string $name(optional) The name value
  * @param string $reasonCode(optional) The reasonCode value
  * @param string $helpUrl(optional) The helpUrl value
  */
 public function __construct($explanation = null, $name = null, $reasonCode = null, $helpUrl = null)
 {
     $this->registerAllNamespaces(\Zend\GData\YouTube\YouTube::$namespaces);
     parent::__construct();
     $this->_text = $explanation;
     $this->_name = $name;
     $this->_reasonCode = $reasonCode;
     $this->_helpUrl = $reasonCode;
 }
Esempio n. 8
0
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_Extension_Cell element.
  *
  * @param string $text (optional) Text contents of the element.
  * @param string $row (optional) Row attribute of the element.
  * @param string $col (optional) Column attribute of the element.
  * @param string $inputValue (optional) Input value attribute of the element.
  * @param string $numericValue (optional) Numeric value attribute of the element.
  */
 public function __construct($text = null, $row = null, $col = null, $inputValue = null, $numericValue = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Spreadsheets\Spreadsheets::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_row = $row;
     $this->_col = $col;
     $this->_inputValue = $inputValue;
     $this->_numericValue = $numericValue;
 }
Esempio n. 9
0
 /**
  * Constructs a new MediaText element
  *
  * @param $text string
  * @param $type string
  * @param $lang string
  * @param $start string
  * @param $end string
  */
 public function __construct($text = null, $type = null, $lang = null, $start = null, $end = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_type = $type;
     $this->_lang = $lang;
     $this->_start = $start;
     $this->_end = $end;
 }
Esempio n. 10
0
 /**
  * Constructor for Zend_Gdata_DublinCore_Extension_Rights which
  * Information about rights held in and over the resource
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\DublinCore\DublinCore::$namespaces);
     parent::__construct();
     $this->_text = $value;
 }
Esempio n. 11
0
 /**
  * Constructs a new Zend_Gdata_YouTube_Extension_Statistics object.
  * @param string $viewCount(optional) The viewCount value
  * @param string $videoWatchCount(optional) The videoWatchCount value
  * @param string $subscriberCount(optional) The subscriberCount value
  * @param string $lastWebAccess(optional) The lastWebAccess value
  * @param string $favoriteCount(optional) The favoriteCount value
  */
 public function __construct($viewCount = null, $videoWatchCount = null, $subscriberCount = null, $lastWebAccess = null, $favoriteCount = null)
 {
     $this->registerAllNamespaces(\Zend\GData\YouTube\YouTube::$namespaces);
     parent::__construct();
     $this->_viewCount = $viewCount;
     $this->_videoWatchCount = $videoWatchCount;
     $this->_subscriberCount = $subscriberCount;
     $this->_lastWebAccess = $lastWebAccess;
     $this->_favoriteCount = $favoriteCount;
 }
Esempio n. 12
0
 /**
  * Constructs a new Zend_Gdata_YouTube_Extension_Duration object.
  * @param bool $seconds(optional) The seconds value of the element.
  */
 public function __construct($seconds = null)
 {
     $this->registerAllNamespaces(\Zend\GData\YouTube\YouTube::$namespaces);
     parent::__construct();
     $this->_seconds = $seconds;
 }
Esempio n. 13
0
 /**
  * Constructs a new Zend_Gdata_GApps_Extension_Login object.
  *
  * @param string $username (optional) The username to be used for this
  *          login.
  * @param string $password (optional) The password to be used for this
  *          login.
  * @param string $hashFunctionName (optional) The name of the hash
  *          function used to protect the password, or null if no
  *          has function has been applied. As of this writing,
  *          the only valid values are 'SHA-1' or null.
  * @param boolean $admin (optional) Whether the user is an administrator
  *          or not.
  * @param boolean $suspended (optional) Whether this login is suspended or not.
  * @param boolean $changePasswordAtNextLogin (optional) Whether
  *          the user is required to change their password at their
  *          next login.
  * @param boolean $agreedToTerms (optional) Whether the user has
  *          agreed to the terms of service.
  */
 public function __construct($username = null, $password = null, $hashFunctionName = null, $admin = null, $suspended = null, $changePasswordAtNextLogin = null, $agreedToTerms = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps\GApps::$namespaces);
     parent::__construct();
     $this->_username = $username;
     $this->_password = $password;
     $this->_hashFunctionName = $hashFunctionName;
     $this->_admin = $admin;
     $this->_agreedToTerms = $agreedToTerms;
     $this->_suspended = $suspended;
     $this->_changePasswordAtNextLogin = $changePasswordAtNextLogin;
 }
Esempio n. 14
0
 public function __construct($text = null)
 {
     $this->registerAllNamespaces(\Zend\GData\YouTube\YouTube::$namespaces);
     parent::__construct();
     $this->_text = $text;
 }
Esempio n. 15
0
 /**
  * Constructs a new MediaKeywords element
  */
 public function __construct()
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
 }
Esempio n. 16
0
 /**
  * Create a new instance.
  *
  * @param \Zend\GData\Geo\Extension\GmlPos $pos (optional) Pos to which this
  *          object should be initialized.
  */
 public function __construct($pos = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Geo\Geo::$namespaces);
     parent::__construct();
     $this->setPos($pos);
 }
Esempio n. 17
0
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_Extension_ColCount element.
  * @param string $text (optional) Text contents of the element.
  */
 public function __construct($text = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Spreadsheets\Spreadsheets::$namespaces);
     parent::__construct();
     $this->_text = $text;
 }
Esempio n. 18
0
 /**
  * Constructs a new Zend_Gdata_Extension_SendEventNotifications object.
  * @param bool $value (optional) SendEventNotifications value as URI.
  */
 public function __construct($value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Calendar\Calendar::$namespaces);
     parent::__construct();
     $this->_value = $value;
 }
Esempio n. 19
0
 /**
  * Creates an individual MediaContent object.
  */
 public function __construct($url = null, $fileSize = null, $type = null, $medium = null, $isDefault = null, $expression = null, $bitrate = null, $framerate = null, $samplingrate = null, $channels = null, $duration = null, $height = null, $width = null, $lang = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Media\Media::$namespaces);
     parent::__construct();
     $this->_url = $url;
     $this->_fileSize = $fileSize;
     $this->_type = $type;
     $this->_medium = $medium;
     $this->_isDefault = $isDefault;
     $this->_expression = $expression;
     $this->_bitrate = $bitrate;
     $this->_framerate = $framerate;
     $this->_samplingrate = $samplingrate;
     $this->_channels = $channels;
     $this->_duration = $duration;
     $this->_height = $height;
     $this->_width = $width;
     $this->_lang = $lang;
 }
Esempio n. 20
0
 /**
  * Constructs a new Zend_Gdata_Exif_Extension_Tags object.
  *
  * @param \Zend\GData\EXIF\Extension\Distance $distance (optional) The exif:distance
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\Exposure $exposure (optional) The exif:exposure
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\Flash $flash (optional) The exif:flash
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\FocalLength$focalLength (optional) The exif:focallength
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\FStop $fStop (optional) The exif:fstop
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\ImageUniqueId $imageUniqueId (optional) The exif:imageUniqueID
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\ISO $iso (optional) The exif:iso
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\Make $make (optional) The exif:make
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\Model $model (optional) The exif:model
  *          value to be set in the constructed object.
  * @param \Zend\GData\EXIF\Extension\Time $time (optional) The exif:time
  *          value to be set in the constructed object.
  */
 public function __construct($distance = null, $exposure = null, $flash = null, $focalLength = null, $fStop = null, $imageUniqueId = null, $iso = null, $make = null, $model = null, $time = null)
 {
     $this->registerAllNamespaces(\Zend\GData\EXIF\EXIF::$namespaces);
     parent::__construct();
     $this->setDistance($distance);
     $this->setExposure($exposure);
     $this->setFlash($flash);
     $this->setFocalLength($focalLength);
     $this->setFStop($fStop);
     $this->setImageUniqueId($imageUniqueId);
     $this->setIso($iso);
     $this->setMake($make);
     $this->setModel($model);
     $this->setTime($time);
 }
Esempio n. 21
0
 /**
  * Constructs a new Zend_Gdata_Photos_Extension_User object.
  *
  * @param string $text (optional) The username to represent.
  */
 public function __construct($text = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Photos\Photos::$namespaces);
     parent::__construct();
     $this->setText($text);
 }
Esempio n. 22
0
 /**
  * Constructs a new Zend_Gdata_GApps_Extension_EmailList object.
  *
  * @param string $name (optional) The name to be used for this email list.
  */
 public function __construct($name = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps\GApps::$namespaces);
     parent::__construct();
     $this->_name = $name;
 }