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


PHP Entry::__construct方法代码示例

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


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

示例1: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["academictype"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_ACADEMIC_TYPE", "label" => "Akademischer Abschluss", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Bachelor", "value" => 1), array("name" => "Master", "value" => 2), array("name" => "Sonstiger", "value" => 3)), "defaultValue" => "");
     $this->entryAttributes["academicinstitution"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_ACADEMIC_INSTITUTION", "label" => "Ausbildungseinrichtung", "description" => "", "values" => "", "defaultValue" => "");
     $this->entryAttributes["academicgrade"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_ACADEMIC_GRADE", "label" => "Druchschnittsnote", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Sehr gut (1)", "value" => 1), array("name" => "Gut (2)", "value" => 2), array("name" => "Befriedigend (3)", "value" => 3), array("name" => "Ausreichend (4)", "value" => 4)), "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:7,代码来源:EntryAcademic.class.php

示例2:

 function __construct($date, $title, $soundpath, $imagepath)
 {
     parent::__construct($date, $title, $imagepath);
     $this->soundpath = $soundpath;
     $this->imagepath = $imagepath;
     return $this;
 }
开发者ID:berndpl,项目名称:GifBlog,代码行数:7,代码来源:inc.data.php

示例3: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["employmentcompany"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EMPLOYMENT_COMPANY", "label" => "Betrieb", "description" => "", "values" => "", "defaultValue" => "");
     $this->entryAttributes["employmentduration"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EMPLOYMENT_DURATION", "label" => "Dauer", "description" => "", "values" => "", "defaultValue" => "");
     $this->entryAttributes["employmenttype"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EMPLOYMENT_TYPE", "label" => "Art", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Beschäftigung", "value" => 1), array("name" => "Praktikum", "value" => 2), array("name" => "Sonstiges", "value" => 3)), "defaultValue" => "");
     $this->entryAttributes["employmentposition"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EMPLOYMENT_POSITION", "label" => "Position", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Chemikant", "value" => 2), array("name" => "Chemielaborant", "value" => 3), array("name" => "Chemietechniker", "value" => 4), array("name" => "Industriemeister Chemie", "value" => 5), array("name" => "Sonstige", "value" => 6)), "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:8,代码来源:EntryEmployment.class.php

示例4: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["educationcompany"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EDUCATION_COMPANY", "label" => "Ausbildungsbetrieb", "description" => "", "values" => "", "defaultValue" => "");
     $this->entryAttributes["educationinstitution"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EDUCATION_INSTITUTION", "label" => "Ausbildungsstätte", "description" => "", "values" => "", "defaultValue" => "");
     $this->entryAttributes["educationstate"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EDUCATION_STATE", "label" => "Status", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "abgeschlossen", "value" => 1), array("name" => "im Gange", "value" => 2), array("name" => "abgebrochen", "value" => 3)), "defaultValue" => "");
     $this->entryAttributes["educationtype"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EDUCATION_TYPE", "label" => "Abschluss", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Chemikant", "value" => 2), array("name" => "Chemielaborant", "value" => 3), array("name" => "Chemietechniker", "value" => 4), array("name" => "Industriemeister Chemie", "value" => 5), array("name" => "Sonstige", "value" => 6)), "defaultValue" => "");
     $this->entryAttributes["educationgrade"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_EDUCATION_GRADE", "label" => "Druchschnittsnote", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "Sehr gut (1)", "value" => 1), array("name" => "Gut (2)", "value" => 2), array("name" => "Befriedigend (3)", "value" => 3), array("name" => "Ausreichend (4)", "value" => 4)), "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:9,代码来源:EntryEducation.class.php

示例5: __construct

 /**
  * Constructs a new MediaEntry, representing XML data and optional
  * file to upload
  *
  * @param DOMElement $element (optional) DOMElement from which this
  *          object should be constructed.
  */
 public function __construct($element = null, $mediaSource = null)
 {
     parent::__construct($element);
     $this->_mediaSource = $mediaSource;
 }
开发者ID:bradley-holt,项目名称:zf2,代码行数:12,代码来源:MediaEntry.php

示例6: __construct

 public function __construct($ptitle, $pid, $pcontent, $pcontentType, $plinkArray, $pbook)
 {
     parent::__construct($ptitle, $pid, $pcontent, $pcontentType, $plinkArray);
     $this->book = $pbook;
     $this->localUpdated = $pbook->timestamp;
 }
开发者ID:Klemart3D,项目名称:COPS,代码行数:6,代码来源:base.php

示例7: __construct

 public function __construct(int $id)
 {
     parent::__construct($id);
 }
开发者ID:dreamvids,项目名称:api,代码行数:4,代码来源:Rank.php

示例8: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["schooltype"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_SCHOOL_TYPE", "label" => "Schulabschluss", "description" => "", "widget" => "\\Widgets\\ComboBox", "widgetMethods" => array(array("setOptions" => array(array(array("name" => "", "value" => 0), array("name" => "Volks/- Hauptschulabschluss", "value" => "haupt"), array("name" => "Mittlere Reife/Realschulabschluss", "value" => "real"), array("name" => "Fachhochschulreife", "value" => "fh"), array("name" => "Abitur", "value" => "abi"), array("name" => "Sonstige", "value" => "sonst"))))), "defaultValue" => "");
     $this->entryAttributes["schoolgrade"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_SCHOOL_GRADE", "label" => "Druchschnittsnote", "description" => "", "widget" => "\\Widgets\\ComboBox", "widgetMethods" => array(array("setOptions" => array(array(array("name" => "", "value" => 0), array("name" => "Sehr gut (1)", "value" => 1), array("name" => "Gut (2)", "value" => 2), array("name" => "Befriedigend (3)", "value" => 3), array("name" => "Ausreichend (4)", "value" => 4))))), "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:6,代码来源:EntrySchool.class.php

示例9: __construct

 /**
  * Constructs the object
  * 
  * @param string $label
  */
 public function __construct($label, $url)
 {
     parent::__construct($label);
     $this->url = $url;
 }
开发者ID:zepi,项目名称:turbo-base,代码行数:10,代码来源:Page.php

示例10: __construct

 /**
  * Sponsorship constructor.
  *
  * @param null $id
  */
 public function __construct($id = NULL)
 {
     $this->setTableName(self::TABLE_NAME);
     parent::__construct($id);
     $this->read();
 }
开发者ID:TonyDeStefano,项目名称:OutSpokane-Pride-Forms,代码行数:11,代码来源:Sponsorship.php

示例11: __construct

 public function __construct($user)
 {
     $this->children = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($user);
 }
开发者ID:uglybob,项目名称:Project-Rat-Mesh,代码行数:5,代码来源:Todo.php

示例12: __construct

 /**
  * Constructs the object
  * 
  * @param string $label
  */
 public function __construct($label = '...')
 {
     parent::__construct($label);
 }
开发者ID:zepi,项目名称:turbo-base,代码行数:9,代码来源:Dots.php

示例13: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["othername"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_OTHER_NAME", "label" => "Name", "description" => "", "values" => "", "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:5,代码来源:EntryOther.class.php

示例14: __construct

 public function __construct($user)
 {
     $this->start = new \DateTime('now');
     $this->length = null;
     parent::__construct($user);
 }
开发者ID:uglybob,项目名称:Project-Rat-Mesh,代码行数:6,代码来源:Record.php

示例15: __construct

 public function __construct(\steam_room $room)
 {
     parent::__construct($room);
     $this->entryAttributes["certificatetype"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_CERTIFICATE_TYPE", "label" => "Schulabschluss", "description" => "", "values" => array(array("name" => "", "value" => 0), array("name" => "DAWINCI Lernmodul", "value" => "dawinci"), array("name" => "Sonstige", "value" => "sonst")), "defaultValue" => "");
     $this->entryAttributes["certificatename"] = array("attributeName" => PORTFOLIO_PREFIX . "ENTRY_CERTIFICATE_NAME", "label" => "Name", "description" => "", "values" => "", "defaultValue" => "");
 }
开发者ID:rolwi,项目名称:koala,代码行数:6,代码来源:EntryCertificate.class.php


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