ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
|
This class represents a property in a property form. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setUseValuesAsKeys (bool $a_val) | |
Set use values as keys. More... | |
getUseValuesAsKeys () | |
addOption ($a_option) | |
setOptions (array $a_options) | |
Set Options. More... | |
getOptions () | |
setValue (?array $a_value) | |
getValue () | |
setValueByArray (array $a_values) | |
checkInput () | |
getInput () | |
insert (ilTemplate $a_tpl) | |
getItemByPostVar (string $a_post_var) | |
getTableFilterHTML () | |
Get input item HTML to be inserted into table filters. More... | |
getToolbarHTML () | |
Get input item HTML to be inserted into ilToolbarGUI. More... | |
![]() | |
addSubItem (ilFormPropertyGUI $a_item) | |
getSubItems () | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively More... | |
checkSubItemsInput () | |
Check SubItems. More... | |
getSubForm () | |
getItemByPostVar (string $a_post_var) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
executeCommand () | |
getType () | |
setTitle (string $a_title) | |
getTitle () | |
setPostVar (string $a_postvar) | |
getPostVar () | |
getFieldId () | |
setInfo (string $a_info) | |
getInfo () | |
setAlert (string $a_alert) | |
getAlert () | |
setRequired (bool $a_required) | |
getRequired () | |
setDisabled (bool $a_disabled) | |
getDisabled () | |
checkInput () | |
Check input, strip slashes etc. More... | |
setParentForm (ilPropertyFormGUI $a_parentform) | |
getParentForm () | |
setParent (ilFormPropertyGUI $a_val) | |
getParent () | |
getSubForm () | |
hideSubForm () | |
setHiddenTitle (string $a_val) | |
getHiddenTitle () | |
getItemByPostVar (string $a_post_var) | |
Get item by post var. More... | |
serializeData () | |
unserializeData (string $a_data) | |
setParentTable ($a_val) | |
Set parent table. More... | |
getParentTable () | |
Get parent table. More... | |
writeToSession () | |
clearFromSession () | |
readFromSession () | |
getHiddenTag (string $a_post_var, string $a_value) | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
getMulti () | |
setMultiValues (array $a_values) | |
getMultiValues () | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. More... | |
stripSlashesAddSpaceFallback (string $a_str) | |
Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
getTableFilterLabelFor () | |
Get label "for" attribute value for filter. More... | |
getFormLabelFor () | |
Get label "for" attribute value for form. More... | |
setRequestParam (string $key, $val) | |
This writes the request (aka post) values. More... | |
![]() | |
getTableFilterLabelFor () | |
Get label "for" attribute value. More... | |
Protected Member Functions | |
render ($a_mode='') | |
![]() | |
symbol () | |
setType (string $a_type) | |
checkParentFormTable () | |
getSessionKey () | |
getMultiIconsHTML () | |
int ($key) | |
intArray ($key) | |
str ($key) | |
raw ($key) | |
strArray ($key) | |
arrayArray ($key) | |
isRequestParamArray (string $key) | |
getRequestParam (string $key, Refinery\Transformation $t) | |
Protected Attributes | |
array | $options = array() |
array | $value = null |
bool | $use_values_as_keys = false |
![]() | |
array | $sub_items = array() |
![]() | |
array | $set_params = [] |
ilTable2GUI | $parent_table = null |
ilFormPropertyGUI | $parent_gui = null |
ilCtrl | $ctrl |
ilLanguage | $lng |
string | $type = "" |
string | $title = "" |
string | $postvar = "" |
string | $info = "" |
string | $alert = "" |
bool | $required = false |
ilPropertyFormGUI | $parentform = null |
string | $hidden_title = "" |
bool | $multi = false |
bool | $multi_sortable = false |
bool | $multi_addremove = true |
array | $multi_values = [] |
RequestInterface | $request |
HTTP Services | $http |
Refinery Factory | $refinery = null |
bool | $disabled = false |
ilGlobalTemplateInterface | $global_tpl = null |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
This class represents a property in a property form.
Definition at line 26 of file class.ilCheckboxGroupInputGUI.php.
ilCheckboxGroupInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 32 of file class.ilCheckboxGroupInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
ilCheckboxGroupInputGUI::addOption | ( | $a_option | ) |
ilCheckboxOption | ilCheckboxInputGUI | $a_option |
Definition at line 59 of file class.ilCheckboxGroupInputGUI.php.
Referenced by ilForumThreadFormGUI\addFileUploadInput(), ilMemberExportSettingsGUI\initForm(), ilObjForumGUI\initReplyEditForm(), ilPRGMembersExportGUI\initSettingsForm(), ilMemberExportGUI\initSettingsForm(), and ilObjUserTrackingGUI\initSettingsForm().
ilCheckboxGroupInputGUI::checkInput | ( | ) |
Definition at line 106 of file class.ilCheckboxGroupInputGUI.php.
References ilFormPropertyGUI\$lng, getOptions(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
ilCheckboxGroupInputGUI::getInput | ( | ) |
Definition at line 128 of file class.ilCheckboxGroupInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\strArray().
ilCheckboxGroupInputGUI::getItemByPostVar | ( | string | $a_post_var | ) |
Definition at line 140 of file class.ilCheckboxGroupInputGUI.php.
References getOptions(), ilFormPropertyGUI\getPostVar(), and null.
ilCheckboxGroupInputGUI::getOptions | ( | ) |
Definition at line 81 of file class.ilCheckboxGroupInputGUI.php.
References $options.
Referenced by checkInput(), getItemByPostVar(), render(), and setValueByArray().
ilCheckboxGroupInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 160 of file class.ilCheckboxGroupInputGUI.php.
References render().
ilCheckboxGroupInputGUI::getToolbarHTML | ( | ) |
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 165 of file class.ilCheckboxGroupInputGUI.php.
References render().
ilCheckboxGroupInputGUI::getUseValuesAsKeys | ( | ) |
Definition at line 51 of file class.ilCheckboxGroupInputGUI.php.
References $use_values_as_keys.
Referenced by render().
ilCheckboxGroupInputGUI::getValue | ( | ) |
Definition at line 91 of file class.ilCheckboxGroupInputGUI.php.
References $value.
Referenced by render().
ilCheckboxGroupInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 133 of file class.ilCheckboxGroupInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
|
protected |
Definition at line 170 of file class.ilCheckboxGroupInputGUI.php.
References ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getOptions(), ilFormPropertyGUI\getParentForm(), ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubInputItemsRecursive(), getUseValuesAsKeys(), and getValue().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilCheckboxGroupInputGUI::setOptions | ( | array | $a_options | ) |
Set Options.
array | $a_options | Options. Array ("value" => "option_text") |
Definition at line 69 of file class.ilCheckboxGroupInputGUI.php.
ilCheckboxGroupInputGUI::setUseValuesAsKeys | ( | bool | $a_val | ) |
Set use values as keys.
Definition at line 46 of file class.ilCheckboxGroupInputGUI.php.
ilCheckboxGroupInputGUI::setValue | ( | ?array | $a_value | ) |
Definition at line 86 of file class.ilCheckboxGroupInputGUI.php.
Referenced by ilECSObjectSettings\addSettingsToForm(), ilPageLayoutGUI\initForm(), ilECSParticipantSettingsGUI\initFormSettings(), ilObjPrivacySecurityGUI\initPrivacyForm(), and setValueByArray().
ilCheckboxGroupInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 96 of file class.ilCheckboxGroupInputGUI.php.
References getOptions(), ilFormPropertyGUI\getPostVar(), null, and setValue().
|
protected |
Definition at line 28 of file class.ilCheckboxGroupInputGUI.php.
Referenced by getOptions().
|
protected |
Definition at line 30 of file class.ilCheckboxGroupInputGUI.php.
Referenced by getUseValuesAsKeys().
|
protected |
Definition at line 29 of file class.ilCheckboxGroupInputGUI.php.
Referenced by getValue().