| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 () | |
| 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) | |
  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 | |
| 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) | |
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 = ""  | 
        ||
| ) | 
Definition at line 42 of file class.ilNumberInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__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.
Referenced by setDecimals().
 Here is the caller graph for this function:| ilNumberInputGUI::areDecimalsAllowed | ( | ) | 
Definition at line 192 of file class.ilNumberInputGUI.php.
References $allow_decimals.
Referenced by render(), and setValue().
 Here is the caller graph for this function:| ilNumberInputGUI::checkInput | ( | ) | 
Definition at line 197 of file class.ilNumberInputGUI.php.
References ilFormPropertyGUI\$lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getMaxValue(), getMinValue(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), maxvalueShouldBeLess(), minvalueShouldBeGreater(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), and ilLanguage\txt().
 Here is the call graph for this function:| ilNumberInputGUI::getDecimals | ( | ) | 
Definition at line 182 of file class.ilNumberInputGUI.php.
References $decimals.
Referenced by render(), and setValue().
 Here is the caller graph for this function:| ilNumberInputGUI::getInput | ( | ) | 
Definition at line 253 of file class.ilNumberInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().
Referenced by getPostValueForComparison().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilNumberInputGUI::getMaxLength | ( | ) | 
Definition at line 106 of file class.ilNumberInputGUI.php.
References $maxlength.
Referenced by render().
 Here is the caller graph for this function:| ilNumberInputGUI::getMaxValue | ( | ) | 
Definition at line 169 of file class.ilNumberInputGUI.php.
References $maxvalue.
Referenced by checkInput(), and render().
 Here is the caller graph for this function:| ilNumberInputGUI::getMinValue | ( | ) | 
Definition at line 156 of file class.ilNumberInputGUI.php.
References $minvalue.
Referenced by checkInput(), and render().
 Here is the caller graph for this function:| ilNumberInputGUI::getPostValueForComparison | ( | ) | 
Definition at line 349 of file class.ilNumberInputGUI.php.
References getInput().
 Here is the call graph for this function:| ilNumberInputGUI::getSize | ( | ) | 
Definition at line 143 of file class.ilNumberInputGUI.php.
References $size.
Referenced by render().
 Here is the caller graph for this function:| ilNumberInputGUI::getSuffix | ( | ) | 
Definition at line 57 of file class.ilNumberInputGUI.php.
References $suffix.
Referenced by render().
 Here is the caller graph for this function:| ilNumberInputGUI::getValue | ( | ) | 
Definition at line 84 of file class.ilNumberInputGUI.php.
References $value.
Referenced by render().
 Here is the caller graph for this function:| ilNumberInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
Definition at line 262 of file class.ilNumberInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), 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 checkInput(), render(), and setMaxvalueShouldBeLess().
 Here is the caller graph for this function:| ilNumberInputGUI::minvalueShouldBeGreater | ( | ) | 
Definition at line 117 of file class.ilNumberInputGUI.php.
References $minvalueShouldBeGreater.
Referenced by checkInput(), render(), and setMinvalueShouldBeGreater().
 Here is the caller graph for this function:| ilNumberInputGUI::render | ( | ) | 
Definition at line 271 of file class.ilNumberInputGUI.php.
References ilFormPropertyGUI\$lng, areDecimalsAllowed(), getDecimals(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getInfo(), getMaxLength(), getMaxValue(), getMinValue(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSize(), getSuffix(), getValue(), maxvalueShouldBeLess(), minvalueShouldBeGreater(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Referenced by insert().
 Here is the call graph for this function:
 Here is the caller 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.
References allowDecimals().
 Here is the call graph for this function:| 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 | ) | 
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.
Referenced by areDecimalsAllowed().
      
  | 
  protected | 
Definition at line 40 of file class.ilNumberInputGUI.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilNumberInputGUI.php.
Referenced by getDecimals().
      
  | 
  protected | 
Definition at line 29 of file class.ilNumberInputGUI.php.
Referenced by getMaxLength().
      
  | 
  protected | 
Definition at line 35 of file class.ilNumberInputGUI.php.
Referenced by getMaxValue().
      
  | 
  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.
Referenced by getMinValue().
      
  | 
  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().