19 declare(strict_types=1);
37 $this->
lng = $DIC->language();
38 $this->
access = $DIC->access();
39 $this->
ctrl = $DIC->ctrl();
40 $this->
http = $DIC->http();
42 $this->
factory = $DIC->ui()->factory();
43 $this->
renderer = $DIC->ui()->renderer();
44 $this->
user = $DIC->user();
72 if (!is_null($value)) {
90 public function getHTML(
bool $link =
true, array $options = []): string
100 return $this->
getHTML($link, $options);
133 return $this->record_field->getField();
141 return $this->record_field->getRecord();
fillRow(ilTemplate $tpl)
Fills row with record data.
ILIAS Refinery Factory $refinery
getFormGUI(ilPropertyFormGUI $formGUI)
getRecord()
Getter shortcut for record.
ILIAS UI Renderer $renderer
getField()
Getter shortcut for field.
getHTML(bool $link=true, array $options=[])
Outputs html of a certain field.
ILIAS HTTP Services $http
ILIAS UI Factory $factory
fillFormInput(ilPropertyFormGUI $form)
Fills the form with the value of a record.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(ilDclBaseRecordFieldModel $record_field)
static http()
Fetches the global http state from ILIAS.
getFormInput()
Gets the value from from the record field.
getSingleHTML(?array $options=null, bool $link=true)
Returns data for single record view.
parseFormInput($value)
function parses stored value to the variable needed to fill into the form for editing.
getConfirmationHTML()
Returns data for confirmation list When returning false, attribute is ignored in list.
getRecordField()
Get Record Field.
ilDclBaseRecordFieldModel $record_field