ILIAS
release_8 Revision v8.19
|
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 (string $a_title="", string $a_postvar="") | |
addCombinationItem (string $id, ilFormPropertyGUI $item, $label="") | |
getCombinationItem (string $id) | |
removeCombinationItem (string $id) | |
__call (string $method, array $param) | |
serializeData () | |
unserializeData (string $a_data) | |
setComparisonMode (int $mode) | |
Set mode for comparison (extended validation) More... | |
setValue (?array $a_value) | |
getValue () | |
setValueByArray (array $a_values) | |
checkInput () | |
Check input, strip slashes etc. More... | |
insert (ilTemplate $a_tpl) | |
render () | |
getTableFilterHTML () | |
Get input item HTML to be inserted into table filters. 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... | |
Data Fields | |
const | COMPARISON_NONE = 0 |
const | COMPARISON_ASCENDING = 1 |
const | COMPARISON_DESCENDING = 2 |
Protected Attributes | |
array | $items = array() |
array | $labels = [] |
int | $comparison_mode = self::COMPARISON_NONE |
![]() | |
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... | |
![]() | |
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 number property in a property form.
Definition at line 26 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 37 of file class.ilCombinationInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
ilCombinationInputGUI::__call | ( | string | $method, |
array | $param | ||
) |
Definition at line 72 of file class.ilCombinationInputGUI.php.
References $id.
ilCombinationInputGUI::addCombinationItem | ( | string | $id, |
ilFormPropertyGUI | $item, | ||
$label = "" |
|||
) |
Definition at line 46 of file class.ilCombinationInputGUI.php.
References $id.
ilCombinationInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 202 of file class.ilCombinationInputGUI.php.
References ilSubEnabledFormPropertyGUI\checkSubItemsInput().
ilCombinationInputGUI::getCombinationItem | ( | string | $id | ) |
Definition at line 57 of file class.ilCombinationInputGUI.php.
References $id.
ilCombinationInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 267 of file class.ilCombinationInputGUI.php.
References render().
ilCombinationInputGUI::getValue | ( | ) |
Definition at line 173 of file class.ilCombinationInputGUI.php.
References $id.
ilCombinationInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 236 of file class.ilCombinationInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilCombinationInputGUI::removeCombinationItem | ( | string | $id | ) |
Definition at line 65 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::render | ( | ) |
Definition at line 245 of file class.ilCombinationInputGUI.php.
Referenced by getTableFilterHTML(), and insert().
ilCombinationInputGUI::serializeData | ( | ) |
Definition at line 85 of file class.ilCombinationInputGUI.php.
References $id.
ilCombinationInputGUI::setComparisonMode | ( | int | $mode | ) |
Set mode for comparison (extended validation)
Definition at line 114 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::setValue | ( | ?array | $a_value | ) |
Definition at line 128 of file class.ilCombinationInputGUI.php.
References $id.
Referenced by unserializeData().
ilCombinationInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 192 of file class.ilCombinationInputGUI.php.
ilCombinationInputGUI::unserializeData | ( | string | $a_data | ) |
Definition at line 94 of file class.ilCombinationInputGUI.php.
References $data, $id, and setValue().
|
protected |
Definition at line 35 of file class.ilCombinationInputGUI.php.
|
protected |
Definition at line 32 of file class.ilCombinationInputGUI.php.
|
protected |
Definition at line 33 of file class.ilCombinationInputGUI.php.
const ilCombinationInputGUI::COMPARISON_ASCENDING = 1 |
Definition at line 29 of file class.ilCombinationInputGUI.php.
Referenced by ilTable2GUI\addFilterItemByMetaType(), ilADTDateSearchBridgeRange\addToForm(), and ilADTDateTimeSearchBridgeRange\addToForm().
const ilCombinationInputGUI::COMPARISON_DESCENDING = 2 |
Definition at line 30 of file class.ilCombinationInputGUI.php.
const ilCombinationInputGUI::COMPARISON_NONE = 0 |
Definition at line 28 of file class.ilCombinationInputGUI.php.