ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclBaseRecordRepresentation. More...
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 ($form) | |
Fills the form with the value of a record. More... | |
getHTML ($link=true) | |
Outputs html of a certain field. More... | |
getSingleHTML (array $options=null, $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 | |
$record_field | |
$lng | |
$access | |
$ctrl | |
Class ilDclBaseRecordRepresentation.
Definition at line 10 of file class.ilDclBaseRecordRepresentation.php.
ilDclBaseRecordRepresentation::__construct | ( | ilDclBaseRecordFieldModel | $record_field | ) |
Definition at line 16 of file class.ilDclBaseRecordRepresentation.php.
References $DIC, $ilCtrl, $lng, and $record_field.
ilDclBaseRecordRepresentation::fillFormInput | ( | $form | ) |
Fills the form with the value of a record.
$form |
Definition at line 50 of file class.ilDclBaseRecordRepresentation.php.
References array, getField(), getFormInput(), and getRecordField().
ilDclBaseRecordRepresentation::fillRow | ( | ilTemplate | $tpl | ) |
Fills row with record data.
ilTemplate | $tpl |
Definition at line 105 of file class.ilDclBaseRecordRepresentation.php.
ilDclBaseRecordRepresentation::getConfirmationHTML | ( | ) |
Returns data for confirmation list When returning false, attribute is ignored in list.
Definition at line 97 of file class.ilDclBaseRecordRepresentation.php.
References getHTML().
ilDclBaseRecordRepresentation::getField | ( | ) |
Getter shortcut for field.
Definition at line 123 of file class.ilDclBaseRecordRepresentation.php.
Referenced by fillFormInput(), ilDclTextRecordRepresentation\fillFormInput(), ilDclRatingRecordRepresentation\getHTML(), ilDclFileuploadRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), and ilDclIliasReferenceRecordRepresentation\getSingleHTML().
ilDclBaseRecordRepresentation::getFormGUI | ( | ilPropertyFormGUI | $formGUI | ) |
Definition at line 29 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Gets the value from from the record field.
Definition at line 63 of file class.ilDclBaseRecordRepresentation.php.
References getRecordField(), and parseFormInput().
Referenced by fillFormInput(), and ilDclTextRecordRepresentation\fillFormInput().
ilDclBaseRecordRepresentation::getHTML | ( | $link = true | ) |
Outputs html of a certain field.
mixed | $value | |
bool | true | $link |
Definition at line 75 of file class.ilDclBaseRecordRepresentation.php.
References getRecordField().
Referenced by getConfirmationHTML(), and getSingleHTML().
ilDclBaseRecordRepresentation::getRecord | ( | ) |
Getter shortcut for record.
Definition at line 131 of file class.ilDclBaseRecordRepresentation.php.
Referenced by ilDclRatingRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilDclFileuploadRecordRepresentation\getHTML(), and ilDclMobRecordRepresentation\getHTML().
ilDclBaseRecordRepresentation::getRecordField | ( | ) |
Get Record Field.
Definition at line 114 of file class.ilDclBaseRecordRepresentation.php.
References $record_field.
Referenced by fillFormInput(), ilDclIliasReferenceRecordRepresentation\getActionLink(), getFormInput(), ilDclReferenceRecordRepresentation\getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ilDclRatingRecordRepresentation\getHTML(), ilDclFileuploadRecordRepresentation\getHTML(), ilDclDatetimeRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), getHTML(), ilDclIliasReferenceRecordRepresentation\getLinkHTML(), and ilDclIliasReferenceRecordRepresentation\getSingleHTML().
ilDclBaseRecordRepresentation::getSingleHTML | ( | array | $options = null , |
$link = true |
|||
) |
Returns data for single record view.
array | NULL | $options | |
bool | $link |
Definition at line 87 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.
$value |
Definition at line 41 of file class.ilDclBaseRecordRepresentation.php.
Referenced by getFormInput().
|
protected |
Definition at line 13 of file class.ilDclBaseRecordRepresentation.php.
Referenced by ilDclFileuploadRecordRepresentation\getHTML().
|
protected |
Definition at line 14 of file class.ilDclBaseRecordRepresentation.php.
|
protected |
Definition at line 12 of file class.ilDclBaseRecordRepresentation.php.
Referenced by __construct(), and ilDclIliasReferenceRecordRepresentation\getLinkHTML().
|
protected |
Definition at line 11 of file class.ilDclBaseRecordRepresentation.php.
Referenced by __construct(), ilDclReferenceRecordRepresentation\getHTML(), ilDclReferenceRecordRepresentation\getLinkHTML(), and getRecordField().