ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (ilDclBaseRecordFieldModel $record_field) | |
getFormGUI (ilPropertyFormGUI $formGUI) | |
parseFormInput ($value) | |
function parses stored value to the variable needed to fill into the form for editing. More... | |
fillFormInput (ilPropertyFormGUI $form) | |
Fills the form with the value of a record. More... | |
getHTML (bool $link=true, array $options=[]) | |
Outputs html of a certain field. More... | |
getSingleHTML (?array $options=null, bool $link=true) | |
Returns data for single record view. More... | |
getConfirmationHTML () | |
Returns data for confirmation list When returning false, attribute is ignored in list. More... | |
fillRow (ilTemplate $tpl) | |
Fills row with record data. More... | |
getRecordField () | |
Get Record Field. More... | |
getField () | |
Getter shortcut for field. More... | |
getRecord () | |
Getter shortcut for record. More... | |
Protected Member Functions | |
getFormInput () | |
Gets the value from from the record field. More... | |
Protected Attributes | |
ILIAS UI Factory | $factory |
ilDclBaseRecordFieldModel | $record_field |
ilLanguage | $lng |
ilAccess | $access |
ilCtrl | $ctrl |
ILIAS HTTP Services | $http |
ILIAS Refinery Factory | $refinery |
ILIAS UI Renderer | $renderer |
ilObjUser | $user |
Definition at line 21 of file class.ilDclBaseRecordRepresentation.php.
ilDclBaseRecordRepresentation::__construct | ( | ilDclBaseRecordFieldModel | $record_field | ) |
Reimplemented in ilDclFileRecordRepresentation, and ilDclIliasReferenceRecordRepresentation.
Definition at line 33 of file class.ilDclBaseRecordRepresentation.php.
References $DIC, $record_field, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), factory(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), renderer(), and ILIAS\Repository\user().
ilDclBaseRecordRepresentation::fillFormInput | ( | ilPropertyFormGUI | $form | ) |
Fills the form with the value of a record.
Reimplemented in ilDclRatingRecordRepresentation, and ilDclTextRecordRepresentation.
Definition at line 67 of file class.ilDclBaseRecordRepresentation.php.
References getField(), getFormInput(), ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getItemByPostVar(), and getRecordField().
ilDclBaseRecordRepresentation::fillRow | ( | ilTemplate | $tpl | ) |
Fills row with record data.
ilTemplate | $tpl |
Definition at line 116 of file class.ilDclBaseRecordRepresentation.php.
ilDclBaseRecordRepresentation::getConfirmationHTML | ( | ) |
Returns data for confirmation list When returning false, attribute is ignored in list.
Definition at line 107 of file class.ilDclBaseRecordRepresentation.php.
References getHTML().
ilDclBaseRecordRepresentation::getField | ( | ) |
Getter shortcut for field.
Definition at line 131 of file class.ilDclBaseRecordRepresentation.php.
Referenced by fillFormInput(), ilDclTextRecordRepresentation\fillFormInput(), ilDclCopyRecordRepresentation\getHTML(), ilDclDateSelectionRecordRepresentation\getHTML(), ilDclDatetimeSelectionRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), ilDclRatingRecordRepresentation\getHTML(), ilDclSelectionRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), and ilDclCopyRecordRepresentation\parseFormInput().
ilDclBaseRecordRepresentation::getFormGUI | ( | ilPropertyFormGUI | $formGUI | ) |
Definition at line 49 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Gets the value from from the record field.
Definition at line 82 of file class.ilDclBaseRecordRepresentation.php.
References getRecordField(), ILIAS\UI\Implementation\Component\Input\getValue(), and parseFormInput().
Referenced by fillFormInput(), and ilDclTextRecordRepresentation\fillFormInput().
ilDclBaseRecordRepresentation::getHTML | ( | bool | $link = true , |
array | $options = [] |
||
) |
Outputs html of a certain field.
Reimplemented in ilDclBooleanRecordRepresentation, ilDclCopyRecordRepresentation, ilDclDateRecordRepresentation, ilDclDateSelectionRecordRepresentation, ilDclDatetimeRecordRepresentation, ilDclDatetimeSelectionRecordRepresentation, ilDclFileRecordRepresentation, ilDclIliasReferenceRecordRepresentation, ilDclMobRecordRepresentation, ilDclRatingRecordRepresentation, ilDclReferenceRecordRepresentation, ilDclSelectionRecordRepresentation, and ilDclTextRecordRepresentation.
Definition at line 90 of file class.ilDclBaseRecordRepresentation.php.
References getRecordField().
Referenced by getConfirmationHTML(), and getSingleHTML().
ilDclBaseRecordRepresentation::getRecord | ( | ) |
Getter shortcut for record.
Definition at line 139 of file class.ilDclBaseRecordRepresentation.php.
Referenced by ilDclMobRecordRepresentation\getHTML(), ilDclRatingRecordRepresentation\getHTML(), and ilDclTextRecordRepresentation\getHTML().
ilDclBaseRecordRepresentation::getRecordField | ( | ) |
Get Record Field.
Definition at line 123 of file class.ilDclBaseRecordRepresentation.php.
References $record_field.
Referenced by ilDclFileRecordRepresentation\buildDownloadLink(), fillFormInput(), ilDclTextRecordRepresentation\fillFormInput(), getFormInput(), getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ilDclDateRecordRepresentation\getHTML(), ilDclDateSelectionRecordRepresentation\getHTML(), ilDclDatetimeRecordRepresentation\getHTML(), ilDclDatetimeSelectionRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), ilDclRatingRecordRepresentation\getHTML(), ilDclReferenceRecordRepresentation\getHTML(), ilDclSelectionRecordRepresentation\getHTML(), and ilDclTextRecordRepresentation\getHTML().
ilDclBaseRecordRepresentation::getSingleHTML | ( | ?array | $options = null , |
bool | $link = true |
||
) |
Returns data for single record view.
Reimplemented in ilDclFileRecordRepresentation.
Definition at line 98 of file class.ilDclBaseRecordRepresentation.php.
References getHTML().
ilDclBaseRecordRepresentation::parseFormInput | ( | $value | ) |
function parses stored value to the variable needed to fill into the form for editing.
string | int | $value |
Reimplemented in ilDclCopyRecordRepresentation, ilDclDateRecordRepresentation, ilDclFileRecordRepresentation, ilDclMobRecordRepresentation, and ilDclReferenceRecordRepresentation.
Definition at line 59 of file class.ilDclBaseRecordRepresentation.php.
Referenced by getFormInput().
|
protected |
Definition at line 26 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 27 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 23 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 28 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 25 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 24 of file class.ilDclBaseRecordRepresentation.php.
Referenced by __construct(), ilDclFileRecordRepresentation\__construct(), ilDclIliasReferenceRecordRepresentation\__construct(), ilDclFileRecordRepresentation\buildDownloadLink(), ilDclReferenceRecordRepresentation\getHTML(), and getRecordField().
|
protected |
Definition at line 29 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 30 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 31 of file class.ilDclBaseRecordRepresentation.php.