|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilMultiSelectInputGUI:
Collaboration diagram for ilMultiSelectInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setWidth (int $a_width) | |
| getWidth () | |
| setHeight (int $a_height) | |
| getHeight () | |
| setOptions (array $a_options) | |
| getOptions () | |
| setValue ($a_array) | |
| getValue () | |
| setValueByArray (array $a_values) | |
| enableSelectAll (bool $a_value) | |
| enableSelectedFirst (bool $a_value) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| render () | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getCustomAttributes () | |
| setCustomAttributes (array $custom_attributes) | |
| addCustomAttribute (string $custom_attribute) | |
| getWidthUnit () | |
| setWidthUnit (string $widthUnit) | |
| getHeightUnit () | |
| setHeightUnit (string $heightUnit) | |
| unserializeData (string $a_data) | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __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... | |
Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
Protected Attributes | |
| array | $options = [] |
| array | $value = [] |
| bool | $select_all = false |
| bool | $selected_first = false |
| string | $widthUnit = 'px' |
| string | $heightUnit = 'px' |
| array | $custom_attributes = [] |
Protected Attributes inherited from ilFormPropertyGUI | |
| 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 |
Private Attributes | |
| int | $width = 160 |
| int | $height = 100 |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| 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) | |
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 This class represents a multi selection list property in a property form.
Definition at line 26 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 38 of file class.ilMultiSelectInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and setValue().
Here is the call graph for this function:| ilMultiSelectInputGUI::addCustomAttribute | ( | string | $custom_attribute | ) |
Definition at line 253 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 123 of file class.ilMultiSelectInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilFormPropertyGUI\$lng, $options, getInput(), getOptions(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilLanguage\txt().
Here is the call graph for this function:| ilMultiSelectInputGUI::enableSelectAll | ( | bool | $a_value | ) |
Definition at line 113 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::enableSelectedFirst | ( | bool | $a_value | ) |
Definition at line 118 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::getCustomAttributes | ( | ) |
Definition at line 242 of file class.ilMultiSelectInputGUI.php.
References $custom_attributes.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getHeight | ( | ) |
Definition at line 65 of file class.ilMultiSelectInputGUI.php.
References $height.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getHeightUnit | ( | ) |
Definition at line 268 of file class.ilMultiSelectInputGUI.php.
References $heightUnit.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getInput | ( | ) |
Definition at line 148 of file class.ilMultiSelectInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\strArray().
Referenced by checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultiSelectInputGUI::getOptions | ( | ) |
Definition at line 81 of file class.ilMultiSelectInputGUI.php.
References $options.
Referenced by checkInput(), and render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 236 of file class.ilMultiSelectInputGUI.php.
References render().
Here is the call graph for this function:| ilMultiSelectInputGUI::getValue | ( | ) |
Definition at line 100 of file class.ilMultiSelectInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getWidth | ( | ) |
Definition at line 55 of file class.ilMultiSelectInputGUI.php.
References $width.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::getWidthUnit | ( | ) |
Definition at line 258 of file class.ilMultiSelectInputGUI.php.
References $widthUnit.
Referenced by render().
Here is the caller graph for this function:| ilMultiSelectInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 229 of file class.ilMultiSelectInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilMultiSelectInputGUI::render | ( | ) |
Definition at line 153 of file class.ilMultiSelectInputGUI.php.
References ilFormPropertyGUI\$lng, $options, $tpl, getCustomAttributes(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getHeight(), getHeightUnit(), getOptions(), ilFormPropertyGUI\getPostVar(), getValue(), getWidth(), getWidthUnit(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Referenced by getTableFilterHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMultiSelectInputGUI::setCustomAttributes | ( | array | $custom_attributes | ) |
Definition at line 247 of file class.ilMultiSelectInputGUI.php.
References $custom_attributes.
| ilMultiSelectInputGUI::setHeight | ( | int | $a_height | ) |
Definition at line 60 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setHeightUnit | ( | string | $heightUnit | ) |
Definition at line 273 of file class.ilMultiSelectInputGUI.php.
References $heightUnit.
| ilMultiSelectInputGUI::setOptions | ( | array | $a_options | ) |
| array<string,string> | $a_options Options. Array ("value" => "option_text") |
Definition at line 73 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setValue | ( | $a_array | ) |
| mixed |
Definition at line 89 of file class.ilMultiSelectInputGUI.php.
Referenced by __construct(), setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilMultiSelectInputGUI::setValueByArray | ( | array | $a_values | ) |
| string[] |
Definition at line 108 of file class.ilMultiSelectInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilMultiSelectInputGUI::setWidth | ( | int | $a_width | ) |
Definition at line 50 of file class.ilMultiSelectInputGUI.php.
| ilMultiSelectInputGUI::setWidthUnit | ( | string | $widthUnit | ) |
Definition at line 263 of file class.ilMultiSelectInputGUI.php.
References $widthUnit.
| ilMultiSelectInputGUI::unserializeData | ( | string | $a_data | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 278 of file class.ilMultiSelectInputGUI.php.
References $data, and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file class.ilMultiSelectInputGUI.php.
Referenced by getCustomAttributes(), and setCustomAttributes().
|
private |
Definition at line 33 of file class.ilMultiSelectInputGUI.php.
Referenced by getHeight().
|
protected |
Definition at line 35 of file class.ilMultiSelectInputGUI.php.
Referenced by getHeightUnit(), and setHeightUnit().
|
protected |
Definition at line 28 of file class.ilMultiSelectInputGUI.php.
Referenced by checkInput(), getOptions(), and render().
|
protected |
Definition at line 30 of file class.ilMultiSelectInputGUI.php.
|
protected |
Definition at line 31 of file class.ilMultiSelectInputGUI.php.
|
protected |
Definition at line 29 of file class.ilMultiSelectInputGUI.php.
|
private |
Definition at line 32 of file class.ilMultiSelectInputGUI.php.
Referenced by getWidth().
|
protected |
Definition at line 34 of file class.ilMultiSelectInputGUI.php.
Referenced by getWidthUnit(), and setWidthUnit().