本文整理汇总了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" => "");
}
示例2:
function __construct($date, $title, $soundpath, $imagepath)
{
parent::__construct($date, $title, $imagepath);
$this->soundpath = $soundpath;
$this->imagepath = $imagepath;
return $this;
}
示例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" => "");
}
示例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" => "");
}
示例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;
}
示例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;
}
示例7: __construct
public function __construct(int $id)
{
parent::__construct($id);
}
示例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" => "");
}
示例9: __construct
/**
* Constructs the object
*
* @param string $label
*/
public function __construct($label, $url)
{
parent::__construct($label);
$this->url = $url;
}
示例10: __construct
/**
* Sponsorship constructor.
*
* @param null $id
*/
public function __construct($id = NULL)
{
$this->setTableName(self::TABLE_NAME);
parent::__construct($id);
$this->read();
}
示例11: __construct
public function __construct($user)
{
$this->children = new \Doctrine\Common\Collections\ArrayCollection();
parent::__construct($user);
}
示例12: __construct
/**
* Constructs the object
*
* @param string $label
*/
public function __construct($label = '...')
{
parent::__construct($label);
}
示例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" => "");
}
示例14: __construct
public function __construct($user)
{
$this->start = new \DateTime('now');
$this->length = null;
parent::__construct($user);
}
示例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" => "");
}