|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilDclTextFieldRepresentation. More...
Inheritance diagram for ilDclTextRecordRepresentation:
Collaboration diagram for ilDclTextRecordRepresentation:Public Member Functions | |
| getHTML ($link=true) | |
| Outputs html of a certain field. More... | |
| fillFormInput ($form) | |
| @inheritDoc More... | |
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 | ) |
@inheritDoc
Reimplemented from ilDclBaseRecordRepresentation.
Definition at line 97 of file class.ilDclTextRecordRepresentation.php.
References ilDclBaseRecordRepresentation\getField(), ilDclBaseRecordRepresentation\getFormInput(), ilDclBaseRecordRepresentation\getRecordField(), ilDclBaseFieldModel\PROP_TEXTAREA, and ilDclBaseFieldModel\PROP_URL.
Here is the call graph for this function:| ilDclTextRecordRepresentation::getHTML | ( | $link = true | ) |
Outputs html of a certain field.
| mixed | $value | |
| bool | true | $link |
Reimplemented from ilDclBaseRecordRepresentation.
Definition at line 22 of file class.ilDclTextRecordRepresentation.php.
References $_GET, ilDclBaseRecordRepresentation\getField(), ilDclBaseRecordRepresentation\getRecord(), ilDclBaseRecordRepresentation\getRecordField(), ilDclDetailedViewDefinition\isActive(), ilDclBaseFieldModel\PROP_LINK_DETAIL_PAGE_TEXT, ilDclBaseFieldModel\PROP_URL, and shortenLink().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:| const ilDclTextRecordRepresentation::LINK_MAX_LENGTH = 40 |
Definition at line 11 of file class.ilDclTextRecordRepresentation.php.