|
ILIAS
release_8 Revision v8.24
|
This class represents a number property in a property form. More...
Inheritance diagram for ilNumberInputGUI:
Collaboration diagram for ilNumberInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setSuffix (string $a_value) | |
| getSuffix () | |
| setValue (?string $a_value) | |
| getValue () | |
| unserializeData (string $a_data) | |
| setMaxLength (int $a_maxlength) | |
| getMaxLength () | |
| setMinvalueShouldBeGreater (bool $a_bool) | |
| minvalueShouldBeGreater () | |
| setMaxvalueShouldBeLess (bool $a_bool) | |
| maxvalueShouldBeLess () | |
| setSize (int $a_size) | |
| setValueByArray (array $a_values) | |
| getSize () | |
| setMinValue (float $a_minvalue, bool $a_display_always=false) | |
| getMinValue () | |
| setMaxValue (float $a_maxvalue, bool $a_display_always=false) | |
| getMaxValue () | |
| setDecimals (int $a_decimals) | |
| getDecimals () | |
| allowDecimals (bool $a_value) | |
| areDecimalsAllowed () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| insert (ilTemplate $a_tpl) | |
| render () | |
| getPostValueForComparison () | |
| setClientSideValidation (bool $validate) | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| 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) | |
| Get item by post var. More... | |
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... | |
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 class represents a number property in a property form.
Definition at line 26 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 42 of file class.ilNumberInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilNumberInputGUI::allowDecimals | ( | bool | $a_value | ) |
Definition at line 187 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::areDecimalsAllowed | ( | ) |
Definition at line 192 of file class.ilNumberInputGUI.php.
Referenced by setValue().
Here is the caller graph for this function:| ilNumberInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 197 of file class.ilNumberInputGUI.php.
References $lng, and ILIAS\Repository\str().
Here is the call graph for this function:| ilNumberInputGUI::getDecimals | ( | ) |
Definition at line 182 of file class.ilNumberInputGUI.php.
Referenced by setValue().
Here is the caller graph for this function:| ilNumberInputGUI::getInput | ( | ) |
Definition at line 253 of file class.ilNumberInputGUI.php.
References ILIAS\Repository\str().
Here is the call graph for this function:| ilNumberInputGUI::getMaxLength | ( | ) |
Definition at line 106 of file class.ilNumberInputGUI.php.
References $maxlength.
| ilNumberInputGUI::getMaxValue | ( | ) |
Definition at line 169 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::getMinValue | ( | ) |
Definition at line 156 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::getPostValueForComparison | ( | ) |
Definition at line 349 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::getSize | ( | ) |
| ilNumberInputGUI::getSuffix | ( | ) |
| ilNumberInputGUI::getValue | ( | ) |
Definition at line 84 of file class.ilNumberInputGUI.php.
References $value.
| ilNumberInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 262 of file class.ilNumberInputGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilNumberInputGUI::maxvalueShouldBeLess | ( | ) |
Definition at line 128 of file class.ilNumberInputGUI.php.
References $maxvalueShouldBeLess.
Referenced by setMaxvalueShouldBeLess().
Here is the caller graph for this function:| ilNumberInputGUI::minvalueShouldBeGreater | ( | ) |
Definition at line 117 of file class.ilNumberInputGUI.php.
References $minvalueShouldBeGreater.
Referenced by setMinvalueShouldBeGreater().
Here is the caller graph for this function:| ilNumberInputGUI::render | ( | ) |
Definition at line 271 of file class.ilNumberInputGUI.php.
References $lng, $tpl, ILIAS\UI\Implementation\Component\Input\getValue(), and ilLegacyFormElementsUtil\prepareFormOutput().
Here is the call graph for this function:| ilNumberInputGUI::setClientSideValidation | ( | bool | $validate | ) |
Definition at line 354 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setDecimals | ( | int | $a_decimals | ) |
Definition at line 174 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setMaxLength | ( | int | $a_maxlength | ) |
Definition at line 101 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setMaxValue | ( | float | $a_maxvalue, |
| bool | $a_display_always = false |
||
| ) |
Definition at line 161 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setMaxvalueShouldBeLess | ( | bool | $a_bool | ) |
Definition at line 123 of file class.ilNumberInputGUI.php.
References maxvalueShouldBeLess().
Here is the call graph for this function:| ilNumberInputGUI::setMinValue | ( | float | $a_minvalue, |
| bool | $a_display_always = false |
||
| ) |
Definition at line 148 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setMinvalueShouldBeGreater | ( | bool | $a_bool | ) |
Definition at line 112 of file class.ilNumberInputGUI.php.
References minvalueShouldBeGreater().
Here is the call graph for this function:| ilNumberInputGUI::setSize | ( | int | $a_size | ) |
Definition at line 133 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setSuffix | ( | string | $a_value | ) |
Definition at line 52 of file class.ilNumberInputGUI.php.
| ilNumberInputGUI::setValue | ( | ?string | $a_value | ) |
Definition at line 62 of file class.ilNumberInputGUI.php.
References areDecimalsAllowed(), and getDecimals().
Referenced by setValueByArray(), and unserializeData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilNumberInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 138 of file class.ilNumberInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilNumberInputGUI::unserializeData | ( | string | $a_data | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 89 of file class.ilNumberInputGUI.php.
References $data, and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 40 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 38 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 29 of file class.ilNumberInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 35 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 37 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 36 of file class.ilNumberInputGUI.php.
Referenced by maxvalueShouldBeLess().
|
protected |
Definition at line 32 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 34 of file class.ilNumberInputGUI.php.
|
protected |
Definition at line 33 of file class.ilNumberInputGUI.php.
Referenced by minvalueShouldBeGreater().
|
protected |
Definition at line 30 of file class.ilNumberInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 31 of file class.ilNumberInputGUI.php.
Referenced by getSuffix().
|
protected |
Definition at line 28 of file class.ilNumberInputGUI.php.
Referenced by getValue().