ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilADT $a_adt) | |
setMulti (bool $a_value, ?int $a_cols=null, ?int $a_rows=null) | |
isMulti () | |
addToForm () | |
importFromPost () | |
![]() | |
__construct (ilADT $a_adt) | |
getADT () | |
setForm (ilPropertyFormGUI $a_form) | |
getForm () | |
setElementId (string $a_value) | |
Set element id (aka form field) More... | |
getElementId () | |
setTitle (string $a_value) | |
getTitle () | |
setInfo (string $a_value) | |
getInfo () | |
setParentElement ($a_value) | |
getParentElement () | |
Get parent element. More... | |
setDisabled (bool $a_value) | |
isDisabled () | |
setRequired (bool $a_value) | |
isRequired () | |
addToForm () | |
Add ADT-specific fields to form. More... | |
addJS (ilGlobalTemplateInterface $a_tpl) | |
Add ADT-specific JS-files to template. More... | |
shouldBeImportedFromPost (ilADTFormBridge $a_parent_adt=null) | |
Check if incoming values should be imported at all. More... | |
importFromPost () | |
Import values from form request POST data. More... | |
validate () | |
setExternalErrors (array $a_errors) | |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
addElementToForm (string $title, string $element_id, string $value, bool $is_translation=false, string $language='') | |
![]() | |
isValidADT (ilADT $a_adt) | |
setADT (ilADT $a_adt) | |
addBasicFieldProperties (ilFormPropertyGUI $a_field, ilADTDefinition $a_def) | |
Helper method to handle generic properties like setRequired(), setInfo() More... | |
findParentElementInForm () | |
addToParentElement (ilFormPropertyGUI $a_field) | |
isActiveForSubItems ($a_parent_option=null) | |
Check if element is currently active for subitem(s) More... | |
Protected Attributes | |
bool | $multi = false |
int | $multi_rows |
int | $multi_cols |
![]() | |
ilADT | $adt |
ilPropertyFormGUI | $form |
$parent | |
string | $id = null |
string | $title = '' |
string | $info = '' |
$parent_element | |
bool | $required = false |
bool | $disabled = false |
ilLanguage | $lng |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 21 of file class.ilADTTextFormBridge.php.
ilADTTextFormBridge::__construct | ( | ilADT | $a_adt | ) |
Definition at line 27 of file class.ilADTTextFormBridge.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
|
protected |
Definition at line 50 of file class.ilADTTextFormBridge.php.
References ilADTFormBridge\addBasicFieldProperties(), ilADTFormBridge\addToParentElement(), ilADTFormBridge\getADT(), isMulti(), and ILIAS\Repository\lng().
Referenced by ilADTLocalizedTextFormBridge\addToForm(), and addToForm().
ilADTTextFormBridge::addToForm | ( | ) |
Definition at line 96 of file class.ilADTTextFormBridge.php.
References addElementToForm(), ilADTFormBridge\getADT(), ilADTFormBridge\getElementId(), and ilADTFormBridge\getTitle().
ilADTTextFormBridge::importFromPost | ( | ) |
Definition at line 105 of file class.ilADTTextFormBridge.php.
References ilADTFormBridge\getADT(), ilADTFormBridge\getElementId(), and ilADTFormBridge\getForm().
ilADTTextFormBridge::isMulti | ( | ) |
Definition at line 40 of file class.ilADTTextFormBridge.php.
References $multi.
Referenced by addElementToForm().
|
protected |
Definition at line 45 of file class.ilADTTextFormBridge.php.
ilADTTextFormBridge::setMulti | ( | bool | $a_value, |
?int | $a_cols = null , |
||
?int | $a_rows = null |
||
) |
Definition at line 33 of file class.ilADTTextFormBridge.php.
|
protected |
Definition at line 23 of file class.ilADTTextFormBridge.php.
Referenced by isMulti().
|
protected |
Definition at line 25 of file class.ilADTTextFormBridge.php.
|
protected |
Definition at line 24 of file class.ilADTTextFormBridge.php.