当前位置: 首页>>代码示例>>PHP>>正文


PHP Extension::__construct方法代码示例

本文整理汇总了PHP中ZendGData\Extension::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Extension::__construct方法的具体用法?PHP Extension::__construct怎么用?PHP Extension::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ZendGData\Extension的用法示例。


在下文中一共展示了Extension::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Constructs a new \ZendGData\Docs\Extension\ACLScope object.
  *
  * @param string $type The type of entity to share with
  * @param string $value the entity to share with (usually email address)
  */
 public function __construct($type = null, $value = null)
 {
     $this->registerAllNamespaces(\ZendGData\Docs::$namespaces);
     parent::__construct();
     $this->_type = $type;
     $this->_value = $value;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:13,代码来源:ACLScope.php

示例2: __construct

 /**
  * @param string $value (optional) The text content of the element.
  * @param string $name (optional)
  */
 public function __construct($value = null, $name = null)
 {
     $this->registerAllNamespaces(Analytics::$namespaces);
     parent::__construct();
     $this->_value = $value;
     $this->_name = $name;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:11,代码来源:Property.php

示例3: __construct

 /**
  * Constructs a new ZendGData\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(\ZendGData\GApps::$namespaces);
     parent::__construct();
     $this->_familyName = $familyName;
     $this->_givenName = $givenName;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:15,代码来源:Name.php

示例4: __construct

 /**
  * Constructs a MediaTitle element
  *
  * @param string $text
  * @param string $type
  */
 public function __construct($text = null, $type = null)
 {
     $this->registerAllNamespaces(\ZendGData\Media::$namespaces);
     parent::__construct();
     $this->_type = $type;
     $this->_text = $text;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:13,代码来源:MediaTitle.php

示例5: __construct

 public function __construct($id = null, $href = null, $when = null)
 {
     parent::__construct();
     $this->_id = $id;
     $this->_href = $href;
     $this->_when = $when;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:7,代码来源:OriginalEvent.php

示例6: __construct

 /**
  * Constructs a new ZendGData\Extension\RecurrenceException object.
  * @param bool $specialized (optional) Whether this is a specialized exception or not.
  * @param \ZendGData\EntryLink (optional) An Event entry with details about the exception.
  * @param \ZendGData\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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:13,代码来源:RecurrenceException.php

示例7: __construct

 /**
  * Constructs a new ZendGData\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(\ZendGData\Spreadsheets::$namespaces);
     parent::__construct();
     $this->_text = $value;
     $this->_rootElement = $column;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:12,代码来源:Custom.php

示例8: __construct

 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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:8,代码来源:EntryLink.php

示例9: __construct

 /**
  * Constructs a new MediaRating element
  *
  * @param string $text
  * @param string $scheme
  * @param string $country
  */
 public function __construct($text = null, $scheme = null, $country = null)
 {
     $this->registerAllNamespaces(\ZendGData\Media::$namespaces);
     parent::__construct();
     $this->_scheme = $scheme;
     $this->_country = $country;
     $this->_text = $text;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:15,代码来源:MediaRating.php

示例10: __construct

 /**
  * Constructor for ZendGData\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(\ZendGData\Books::$namespaces);
     parent::__construct();
     $this->_lang = $lang;
     $this->_type = $type;
     $this->_text = $value;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:17,代码来源:Review.php

示例11: __construct

 /**
  * 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(\ZendGData\Media::$namespaces);
     parent::__construct();
     $this->_url = $url;
     $this->_width = $width;
     $this->_height = $height;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:15,代码来源:MediaPlayer.php

示例12: __construct

 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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:8,代码来源:When.php

示例13: __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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:8,代码来源:Where.php

示例14: __construct

 /**
  * Constructs a new ZendGData\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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:18,代码来源:Rating.php

示例15: __construct

 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;
 }
开发者ID:hybridneo,项目名称:zendgdata,代码行数:9,代码来源:Reminder.php


注:本文中的ZendGData\Extension::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。