本文整理汇总了PHP中Zend_Gdata_Extension::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Gdata_Extension::__construct方法的具体用法?PHP Zend_Gdata_Extension::__construct怎么用?PHP Zend_Gdata_Extension::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Zend_Gdata_Extension
的用法示例。
在下文中一共展示了Zend_Gdata_Extension::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* 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;
}
示例2: __construct
/**
* Constructs a new MediaKeywords element
*/
public function __construct()
{
foreach (Zend_Gdata_Media::$namespaces as $nsPrefix => $nsUri) {
$this->registerNamespace($nsPrefix, $nsUri);
}
parent::__construct();
}
示例3: __construct
public function __construct($id = null, $href = null, $when = null)
{
parent::__construct();
$this->_id = $id;
$this->_href = $href;
$this->_when = $when;
}
示例4: __construct
/**
* 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;
}
示例5: __construct
/**
* 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;
}
示例6: __construct
/**
* 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;
}
示例7: __construct
/**
* 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;
}
示例8: __construct
/**
* 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;
}
示例9: __construct
/**
* 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;
}
示例10: __construct
/**
* 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;
}
示例11: __construct
/**
* 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;
}
示例12: __construct
/**
* 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();
}
示例13: __construct
/**
* 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;
}
示例14: __construct
/**
* 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);
}
}
示例15: __construct
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;
}