ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getElements () | |
getElement ($a_name) | |
addToForm () | |
addJS (ilTemplate $a_tpl) | |
importFromPost () | |
validate () | |
Public Member Functions inherited from ilADTFormBridge | |
__construct (ilADT $a_adt) | |
Constructor. More... | |
getADT () | |
Get ADT. More... | |
setForm (ilPropertyFormGUI $a_form) | |
Set form. More... | |
getForm () | |
Get form. More... | |
setElementId ($a_value) | |
Set element id (aka form field) More... | |
getElementId () | |
Get element id. More... | |
setTitle ($a_value) | |
Set title (aka form field caption) More... | |
getTitle () | |
Get title. More... | |
setInfo ($a_value) | |
Set info (aka form field info text) More... | |
getInfo () | |
Get info. More... | |
setParentElement ($a_value) | |
Set parent element. More... | |
getParentElement () | |
Get parent element. More... | |
setDisabled ($a_value) | |
Set disabled. More... | |
isDisabled () | |
Get disabled. More... | |
setRequired ($a_value) | |
Set required. More... | |
isRequired () | |
Get required. More... | |
addToForm () | |
Add ADT-specific fields to form. More... | |
addJS (ilTemplate $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 () | |
Validate ADT and parse error codes. More... | |
setExternalErrors ($a_errors) | |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
prepareElements () | |
Protected Member Functions inherited from ilADTFormBridge | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. More... | |
setADT (ilADT $a_adt) | |
Set ADT. More... | |
addBasicFieldProperties (ilFormPropertyGUI $a_field, ilADTDefinition $a_def) | |
Helper method to handle generic properties like setRequired(), setInfo() More... | |
findParentElementInForm () | |
Try to find parent element in form (could be option) More... | |
addToParentElement (ilFormPropertyGUI $a_field) | |
Add form field to parent element. More... | |
isActiveForSubItems ($a_parent_option=null) | |
Check if element is currently active for subitem(s) More... | |
Protected Attributes | |
$elements = [] | |
Protected Attributes inherited from ilADTFormBridge | |
$adt | |
$form | |
$id | |
$title | |
$info | |
$parent_element | |
$required | |
$disabled | |
Definition at line 5 of file class.ilADTGroupFormBridge.php.
ilADTGroupFormBridge::addJS | ( | ilTemplate | $a_tpl | ) |
Definition at line 65 of file class.ilADTGroupFormBridge.php.
References prepareElements().
ilADTGroupFormBridge::addToForm | ( | ) |
Definition at line 46 of file class.ilADTGroupFormBridge.php.
References $section, ilADTFormBridge\getForm(), ilADTFormBridge\getInfo(), ilADTFormBridge\getTitle(), and prepareElements().
ilADTGroupFormBridge::getElement | ( | $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 73 of file class.ilADTGroupFormBridge.php.
References 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 95 of file class.ilADTGroupFormBridge.php.
References $DIC, $errors, $lng, $valid, ilADTFormBridge\getADT(), getElements(), and ilADTFormBridge\getForm().
|
protected |
Definition at line 7 of file class.ilADTGroupFormBridge.php.
Referenced by getElements().