ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclTextFieldRepresentation. More...
Public Member Functions | |
getHTML ($link=true) | |
Outputs html of a certain field. More... | |
fillFormInput ($form) | |
Public Member Functions inherited from ilDclBaseRecordRepresentation | |
__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... | |
Data Fields | |
const | LINK_MAX_LENGTH = 40 |
Protected Member Functions | |
shortenLink ($value) | |
This method shortens a link. More... | |
Protected Member Functions inherited from ilDclBaseRecordRepresentation | |
getFormInput () | |
Gets the value from from the record field. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilDclBaseRecordRepresentation | |
$record_field | |
$lng | |
$access | |
$ctrl | |
Class ilDclTextFieldRepresentation.
Definition at line 9 of file class.ilDclTextRecordRepresentation.php.
ilDclTextRecordRepresentation::fillFormInput | ( | $form | ) |
Definition at line 97 of file class.ilDclTextRecordRepresentation.php.
References $form, ilDclBaseRecordRepresentation\getField(), ilDclBaseRecordRepresentation\getFormInput(), ilDclBaseRecordRepresentation\getRecordField(), ilDclBaseFieldModel\PROP_TEXTAREA, and ilDclBaseFieldModel\PROP_URL.
ilDclTextRecordRepresentation::getHTML | ( | $link = true | ) |
Outputs html of a certain field.
mixed | $value | |
bool | true | $link |
Definition at line 22 of file class.ilDclTextRecordRepresentation.php.
References $_GET, $html, ilDclBaseRecordRepresentation\getField(), ilDclBaseRecordRepresentation\getRecord(), ilDclBaseRecordRepresentation\getRecordField(), ilDclDetailedViewDefinition\isActive(), ilDclBaseFieldModel\PROP_LINK_DETAIL_PAGE_TEXT, ilDclBaseFieldModel\PROP_URL, and shortenLink().
|
protected |
This method shortens a link.
The http(s):// and the www part are taken away. The rest will be shortened to sth similar to: "somelink.de/lange...gugus.html".
$value | The link in it's original form. |
Definition at line 69 of file class.ilDclTextRecordRepresentation.php.
Referenced by getHTML().
const ilDclTextRecordRepresentation::LINK_MAX_LENGTH = 40 |
Definition at line 11 of file class.ilDclTextRecordRepresentation.php.