Exemplo n.º 1
0
 /**
  * Constructs a new Zend_Gdata_YouTube_Extension_Statistics object.
  * @param string $viewCount(optional) The viewCount value
  * @param string $watchCount(optional) The watchCount value
  */
 public function __construct($viewCount = null, $watchCount = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces);
     parent::__construct();
     $this->_viewCount = $viewCount;
     $this->_watchCount = $watchCount;
 }
Exemplo n.º 2
0
 /**
  * Constructs a new MediaKeywords element
  */
 public function __construct()
 {
     foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
 }
 public function __construct($id = null, $href = null, $when = null)
 {
     parent::__construct();
     $this->_id = $id;
     $this->_href = $href;
     $this->_when = $when;
 }
Exemplo n.º 4
0
 /**
  * Constructs a new Zend_Gdata_Gapps_Extension_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;
 }
Exemplo n.º 5
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, $name = null)
 {
     $this->registerAllNamespaces(HCMS_Gdata_Analytics::$namespaces);
     parent::__construct();
     $this->_value = $value;
     $this->_name = $name;
 }
 /**
  * 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;
 }
Exemplo n.º 7
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;
 }
 /**
  * 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;
 }
Exemplo n.º 9
0
 /**
  * Constructs a new MediaHash element
  *
  * @param string $text
  * @param string $algo
  */
 public function __construct($text = null, $algo = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_Media::$namespaces);
     parent::__construct();
     $this->_text = $text;
     $this->_algo = $algo;
 }
Exemplo n.º 10
0
 /**
  * Constructs a new Access element
  *
  * @param string $action
  * @param string $permission
  */
 public function __construct($action = null, $permission = null)
 {
     $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces);
     parent::__construct();
     $this->_action = $action;
     $this->_permission = $permission;
 }
Exemplo n.º 11
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;
 }
Exemplo n.º 12
0
 /**
  * Constructs a new Zend_Gdata_YouTube_Extension_VideoShare object.
  * @param bool $enabled(optional) The enabled value of the element.
  */
 public function __construct($enabled = null)
 {
     foreach (Zend_Gdata_YouTube::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
 }
Exemplo n.º 13
0
 /**
  * Constructs a new Zend_Gdata_Calendar_Extension_Hidden object.
  * @param bool $value (optional) The value of the element.
  */
 public function __construct($value = null)
 {
     parent::__construct();
     foreach (Zend_Gdata_Calendar::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     $this->_value = $value;
 }
Exemplo n.º 14
0
 /**
  * Constructs a new Zend_Gdata_Spreadsheets_Extension_ColCount element.
  * @param string $text (optional) Text contents of the element.
  */
 public function __construct($text = null)
 {
     parent::__construct();
     $this->_text = $text;
     foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
 }
Exemplo n.º 15
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;
 }
Exemplo 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)
 {
     foreach (Zend_Gdata_Geo::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
     $this->setPos($pos);
 }
Exemplo n.º 17
0
 /**
  * Constructs a new Zend_Gdata_Gapps_Extension_Nickname object.
  * @param string $name (optional) The nickname being represented.
  */
 public function __construct($name = null)
 {
     foreach (Zend_Gdata_Gapps::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
     $this->_name = $name;
 }
Exemplo n.º 18
0
 /**
  * Constructor for Zend_Gdata_DublinCore_Extension_Creator which
  * Entity primarily responsible for making the resource
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($value = null)
 {
     foreach (Zend_Gdata_DublinCore::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
     $this->_text = $value;
 }
Exemplo n.º 19
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;
 }
Exemplo n.º 20
0
 /**
  * Constructs a new Zend_Gdata_Photos_Extension_Nickname object.
  * 
  * @param string $text (optional) The value being represented.
  */
 public function __construct($text = null)
 {
     foreach (Zend_Gdata_Photos::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
     $this->setText($text);
 }
Exemplo n.º 21
0
 public function __construct($average = null, $min = null, $max = null, $numRaters = null)
 {
     parent::__construct();
     $this->_average = $average;
     $this->_min = $min;
     $this->_max = $max;
     $this->_numRaters = $numRaters;
 }
Exemplo n.º 22
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;
 }
Exemplo n.º 23
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;
 }
Exemplo n.º 24
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::$namespaces);
     parent::__construct();
     $this->_url = $url;
     $this->_width = $width;
     $this->_height = $height;
 }
Exemplo n.º 25
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;
 }
Exemplo n.º 26
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;
 }
Exemplo n.º 27
0
 /**
  * Constructs a new MediaHash element
  *
  * @param string $text 
  * @param string $algo
  */
 public function __construct($text = null, $algo = null)
 {
     foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     parent::__construct();
     $this->_text = $text;
     $this->_algo = $algo;
 }
Exemplo n.º 28
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;
 }
Exemplo n.º 29
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;
 }
Exemplo n.º 30
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)
 {
     parent::__construct();
     $this->_text = $value;
     foreach (Zend_Gdata_Spreadsheets::$namespaces as $nsPrefix => $nsUri) {
         $this->registerNamespace($nsPrefix, $nsUri);
     }
     $this->_rootElement = $column;
 }