Пример #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::$namespaces);
     parent::__construct();
     $this->_scheme = $scheme;
     $this->_text = $text;
 }
Пример #2
0
 public function __construct($id = null, $href = null, $when = null)
 {
     parent::__construct();
     $this->_id = $id;
     $this->_href = $href;
     $this->_when = $when;
 }
Пример #3
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::$namespaces);
     parent::__construct();
     $this->_familyName = $familyName;
     $this->_givenName = $givenName;
 }
Пример #4
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::$namespaces);
     parent::__construct();
     $this->_text = $value;
     $this->_rootElement = $column;
 }
Пример #5
0
 /**
  * Constructs a new Property object.
  *
  * @param string $name The name of the property
  * @param string $value The value of the property
  */
 public function __construct($name = null, $value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps::$namespaces);
     parent::__construct();
     $this->_name = $name;
     $this->_value = $value;
 }
Пример #6
0
 /**
  * @param string $value (optional) The text content of the element.
  * @param string $name (optional)
  */
 public function __construct($value = null, $name = null)
 {
     $this->registerAllNamespaces(GData\Analytics::$namespaces);
     parent::__construct();
     $this->_value = $value;
     $this->_name = $name;
 }
Пример #7
0
 /**
  * Constructs a new Zend_Gdata_Extension_RecurrenceException object.
  * @param bool $specialized (optional) Whether this is a specialized exception or not.
  * @param Zend_Gdata_EntryLink (optional) An Event entry with details about the exception.
  * @param Zend_Gdata_OriginalEvent (optional) The origianl recurrent event this is an exeption to.
  */
 public function __construct($specialized = null, $entryLink = null, $originalEvent = null)
 {
     parent::__construct();
     $this->_specialized = $specialized;
     $this->_entryLink = $entryLink;
     $this->_originalEvent = $originalEvent;
 }
Пример #8
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($url = null, $height = null, $width = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Calendar::$namespaces);
     parent::__construct();
     $this->_url = $url;
     $this->_height = $height;
     $this->_width = $width;
 }
Пример #9
0
 public function __construct($startTime = null, $endTime = null, $valueString = null, $reminders = null)
 {
     parent::__construct();
     $this->_startTime = $startTime;
     $this->_endTime = $endTime;
     $this->_valueString = $valueString;
     $this->_reminders = $reminders;
 }
Пример #10
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::$namespaces);
     parent::__construct();
     $this->_lang = $lang;
     $this->_type = $type;
     $this->_text = $value;
 }
Пример #11
0
 public function __construct($valueString = null, $label = null, $rel = null, $entryLink = null)
 {
     parent::__construct();
     $this->_valueString = $valueString;
     $this->_label = $label;
     $this->_rel = $rel;
     $this->_entryLink = $entryLink;
 }
Пример #12
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::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_relationship = $relationship;
     $this->_type = $type;
 }
Пример #13
0
 public function __construct($href = null, $rel = null, $readOnly = null, $entry = null)
 {
     parent::__construct();
     $this->_href = $href;
     $this->_readOnly = $readOnly;
     $this->_rel = $rel;
     $this->_entry = $entry;
 }
Пример #14
0
 public function __construct($absoluteTime = null, $method = null, $days = null, $hours = null, $minutes = null)
 {
     parent::__construct();
     $this->_absoluteTime = $absoluteTime;
     $this->_method = $method;
     $this->_days = $days;
     $this->_hours = $hours;
     $this->_minutes = $minutes;
 }
Пример #15
0
 public function __construct($href = null, $rel = null, $countHint = null, $readOnly = null, $feed = null)
 {
     parent::__construct();
     $this->_countHint = $countHint;
     $this->_href = $href;
     $this->_readOnly = $readOnly;
     $this->_rel = $rel;
     $this->_feed = $feed;
 }
Пример #16
0
 /**
  * Constructs a new Zend_Gdata_Extension_Rating object.
  *
  * @param integer $average (optional) Average rating.
  * @param integer $min (optional) Minimum rating.
  * @param integer $max (optional) Maximum rating.
  * @param integer $numRaters (optional) Number of raters.
  * @param integer $value (optional) The value of the rating.
  */
 public function __construct($average = null, $min = null, $max = null, $numRaters = null, $value = null)
 {
     parent::__construct();
     $this->_average = $average;
     $this->_min = $min;
     $this->_max = $max;
     $this->_numRaters = $numRaters;
     $this->_value = $value;
 }
Пример #17
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::$namespaces);
     parent::__construct();
     $this->_text = $explanation;
     $this->_name = $name;
     $this->_reasonCode = $reasonCode;
     $this->_helpUrl = $reasonCode;
 }
Пример #18
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::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_type = $type;
     $this->_lang = $lang;
     $this->_start = $start;
     $this->_end = $end;
 }
Пример #19
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::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_row = $row;
     $this->_col = $col;
     $this->_inputValue = $inputValue;
     $this->_numericValue = $numericValue;
 }
Пример #20
0
 /**
  * Constructs a new Zend_Gdata_Extension_Who object.
  * @param string $email (optional) Email address.
  * @param string $rel (optional) Relationship description.
  * @param string $valueString (optional) Simple string describing this person.
  * @param \Zend\GData\Extension\AttendeeStatus $attendeeStatus (optional) The status of the attendee.
  * @param \Zend\GData\Extension\AttendeeType $attendeeType (optional) The type of the attendee.
  * @param string $entryLink URL pointing to an associated entry (Contact kind) describing this person.
  */
 public function __construct($email = null, $rel = null, $valueString = null, $attendeeStatus = null, $attendeeType = null, $entryLink = null)
 {
     parent::__construct();
     $this->_email = $email;
     $this->_rel = $rel;
     $this->_valueString = $valueString;
     $this->_attendeeStatus = $attendeeStatus;
     $this->_attendeeType = $attendeeType;
     $this->_entryLink = $entryLink;
 }
Пример #21
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::$namespaces);
     parent::__construct();
     $this->_viewCount = $viewCount;
     $this->_videoWatchCount = $videoWatchCount;
     $this->_subscriberCount = $subscriberCount;
     $this->_lastWebAccess = $lastWebAccess;
     $this->_favoriteCount = $favoriteCount;
 }
Пример #22
0
 public function __construct($text = null)
 {
     $this->registerAllNamespaces(\Zend\GData\YouTube::$namespaces);
     parent::__construct();
     $this->_text = $text;
 }
Пример #23
0
 /**
  * Constructs a new Zend_Gdata_Photos_Extension_NumPhotos object.
  *
  * @param string $text (optional) The value to represent.
  */
 public function __construct($text = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Photos::$namespaces);
     parent::__construct();
     $this->setText($text);
 }
Пример #24
0
 /**
  * Create a new instance.
  *
  * @param \Zend\GData\Geo\Extension\GmlPoint $point (optional) Point to which
  *          object should be initialized.
  */
 public function __construct($point = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Geo::$namespaces);
     parent::__construct();
     $this->setPoint($point);
 }
Пример #25
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::$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);
 }
Пример #26
0
 /**
  * Constructs a new Zend_Gdata_GApps_Extension_Quota object.
  *
  * @param string $limit (optional) The limit, in bytes, for this quota.
  */
 public function __construct($limit = null)
 {
     $this->registerAllNamespaces(\Zend\GData\GApps::$namespaces);
     parent::__construct();
     $this->_limit = $limit;
 }
Пример #27
0
 /**
  * Constructs a new Zend_Gdata_Calendar_Extension_Timezone object.
  * @param string $value (optional) The text content of the element.
  */
 public function __construct($value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\Calendar::$namespaces);
     parent::__construct();
     $this->_value = $value;
 }
Пример #28
0
 /**
  * Constructor for Zend_Gdata_DublinCore_Extension_Format which
  * File format, physical medium, or dimensions of the resource
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($value = null)
 {
     $this->registerAllNamespaces(\Zend\GData\DublinCore::$namespaces);
     parent::__construct();
     $this->_text = $value;
 }
Пример #29
0
 /**
  * Constructs a new Zend_Gdata_Extension_Transparency object.
  * @param bool $value (optional) Transparency value as URI
  */
 public function __construct($value = null)
 {
     parent::__construct();
     $this->_value = $value;
 }
Пример #30
0
 public function __construct($text = null)
 {
     parent::__construct();
     $this->_text = $text;
 }