ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
getElements () | |
getElement (string $a_name) | |
addToForm () | |
addJS (ilGlobalTemplateInterface $a_tpl) | |
importFromPost () | |
validate () | |
![]() | |
__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) | |
prepareElements () | |
![]() | |
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 | |
array | $elements = [] |
![]() | |
ilADT | $adt |
ilPropertyFormGUI | $form |
$parent | |
string | $id = null |
string | $title = '' |
string | $info = '' |
$parent_element | |
bool | $required = false |
bool | $disabled = false |
ilLanguage | $lng |
Definition at line 5 of file class.ilADTGroupFormBridge.php.
ilADTGroupFormBridge::addJS | ( | ilGlobalTemplateInterface | $a_tpl | ) |
Definition at line 66 of file class.ilADTGroupFormBridge.php.
References prepareElements().
ilADTGroupFormBridge::addToForm | ( | ) |
Definition at line 47 of file class.ilADTGroupFormBridge.php.
References ilADTFormBridge\getForm(), ilADTFormBridge\getInfo(), ilADTFormBridge\getTitle(), and prepareElements().
ilADTGroupFormBridge::getElement | ( | string | $a_name | ) |
Definition at line 38 of file class.ilADTGroupFormBridge.php.
References prepareElements().
Referenced by ilADTTestGUI\prepareFormElements().
ilADTGroupFormBridge::getElements | ( | ) |
Definition at line 32 of file class.ilADTGroupFormBridge.php.
References $elements, and prepareElements().
Referenced by prepareElements(), ilADTTestGUI\prepareFormElements(), and validate().
ilADTGroupFormBridge::importFromPost | ( | ) |
Definition at line 74 of file class.ilADTGroupFormBridge.php.
References ilADTFormBridge\$parent, and prepareElements().
|
protected |
Definition at line 9 of file class.ilADTGroupFormBridge.php.
|
protected |
Definition at line 14 of file class.ilADTGroupFormBridge.php.
References $factory, $name, ilADTFormBridge\getADT(), getElements(), ilADTFormBridge\getForm(), and ilADTFactory\getInstance().
Referenced by addJS(), addToForm(), getElement(), getElements(), and importFromPost().
ilADTGroupFormBridge::validate | ( | ) |
Definition at line 92 of file class.ilADTGroupFormBridge.php.
References $errors, $valid, ilADTFormBridge\getADT(), getElements(), ilADTFormBridge\getForm(), and ILIAS\Repository\lng().
|
protected |
Definition at line 7 of file class.ilADTGroupFormBridge.php.
Referenced by getElements().