|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This class represents a duration (typical hh:mm:ss) property in a property form. More...
Inheritance diagram for ilDurationInputGUI:
Collaboration diagram for ilDurationInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setDays (int $a_days) | |
| getDays () | |
| setHours (int $a_hours) | |
| getHours () | |
| setMinutes (int $a_minutes) | |
| getMinutes () | |
| setSeconds (int $a_seconds) | |
| setMonths (int $a_months) | |
| getMonths () | |
| getSeconds () | |
| setShowMonths (bool $a_show_months) | |
| getShowMonths () | |
| setShowDays (bool $a_showdays) | |
| getShowDays () | |
| setShowHours (bool $a_showhours) | |
| getShowHours () | |
| setShowMinutes (bool $a_showminutes) | |
| getShowMinutes () | |
| setShowSeconds (bool $a_showseconds) | |
| getShowSeconds () | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| insert (ilTemplate $a_tpl) | |
| render () | |
| getTableFilterHTML () | |
| serializeData () | |
| unserializeData (string $a_data) | |
| getValueInSeconds () | |
| getPostValueForComparison () | |
| getValueAsArray () | |
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... | |
Protected Attributes | |
| int | $months = 0 |
| int | $days = 0 |
| int | $hours = 0 |
| int | $minutes = 0 |
| int | $seconds = 0 |
| bool | $showmonths = false |
| bool | $showdays = false |
| bool | $showhours = true |
| bool | $showminutes = true |
| bool | $showseconds = false |
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 |
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 duration (typical hh:mm:ss) property in a property form.
Definition at line 27 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 40 of file class.ilDurationInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilDurationInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 162 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::getDays | ( | ) |
Definition at line 56 of file class.ilDurationInputGUI.php.
References $days.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
Here is the caller graph for this function:| ilDurationInputGUI::getHours | ( | ) |
Definition at line 66 of file class.ilDurationInputGUI.php.
References $hours.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
Here is the caller graph for this function:| ilDurationInputGUI::getInput | ( | ) |
Definition at line 167 of file class.ilDurationInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\strArray().
Referenced by getPostValueForComparison().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDurationInputGUI::getMinutes | ( | ) |
Definition at line 76 of file class.ilDurationInputGUI.php.
References $minutes.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
Here is the caller graph for this function:| ilDurationInputGUI::getMonths | ( | ) |
Definition at line 91 of file class.ilDurationInputGUI.php.
References $months.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
Here is the caller graph for this function:| ilDurationInputGUI::getPostValueForComparison | ( | ) |
Definition at line 355 of file class.ilDurationInputGUI.php.
References getInput(), getShowDays(), getShowHours(), getShowMinutes(), getShowMonths(), getShowSeconds(), and ilFormPropertyGUI\int().
Here is the call graph for this function:| ilDurationInputGUI::getSeconds | ( | ) |
Definition at line 96 of file class.ilDurationInputGUI.php.
References $seconds.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
Here is the caller graph for this function:| ilDurationInputGUI::getShowDays | ( | ) |
Definition at line 116 of file class.ilDurationInputGUI.php.
References $showdays.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
Here is the caller graph for this function:| ilDurationInputGUI::getShowHours | ( | ) |
Definition at line 126 of file class.ilDurationInputGUI.php.
References $showhours.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
Here is the caller graph for this function:| ilDurationInputGUI::getShowMinutes | ( | ) |
Definition at line 136 of file class.ilDurationInputGUI.php.
References $showminutes.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
Here is the caller graph for this function:| ilDurationInputGUI::getShowMonths | ( | ) |
Definition at line 106 of file class.ilDurationInputGUI.php.
References $showmonths.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
Here is the caller graph for this function:| ilDurationInputGUI::getShowSeconds | ( | ) |
Definition at line 146 of file class.ilDurationInputGUI.php.
References $showseconds.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
Here is the caller graph for this function:| ilDurationInputGUI::getTableFilterHTML | ( | ) |
Definition at line 306 of file class.ilDurationInputGUI.php.
References render().
Here is the call graph for this function:| ilDurationInputGUI::getValueAsArray | ( | ) |
Definition at line 381 of file class.ilDurationInputGUI.php.
References getDays(), getHours(), getMinutes(), getMonths(), and getSeconds().
Here is the call graph for this function:| ilDurationInputGUI::getValueInSeconds | ( | ) |
Definition at line 334 of file class.ilDurationInputGUI.php.
References getDays(), getHours(), getMinutes(), getMonths(), getSeconds(), getShowDays(), getShowHours(), getShowMinutes(), getShowMonths(), and getShowSeconds().
Here is the call graph for this function:| ilDurationInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 172 of file class.ilDurationInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilDurationInputGUI::render | ( | ) |
Definition at line 181 of file class.ilDurationInputGUI.php.
References ilFormPropertyGUI\$lng, ilLegacyFormElementsUtil\formSelect(), getDays(), ilFormPropertyGUI\getDisabled(), getHours(), getMinutes(), getMonths(), ilFormPropertyGUI\getPostVar(), getSeconds(), getShowDays(), getShowHours(), getShowMinutes(), getShowMonths(), getShowSeconds(), and ilLanguage\txt().
Referenced by getTableFilterHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDurationInputGUI::serializeData | ( | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 312 of file class.ilDurationInputGUI.php.
References $data, getDays(), getHours(), getMinutes(), getMonths(), and getSeconds().
Here is the call graph for this function:| ilDurationInputGUI::setDays | ( | int | $a_days | ) |
Definition at line 51 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilDurationInputGUI::setHours | ( | int | $a_hours | ) |
Definition at line 61 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilDurationInputGUI::setMinutes | ( | int | $a_minutes | ) |
Definition at line 71 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilDurationInputGUI::setMonths | ( | int | $a_months | ) |
Definition at line 86 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilDurationInputGUI::setSeconds | ( | int | $a_seconds | ) |
Definition at line 81 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
Here is the caller graph for this function:| ilDurationInputGUI::setShowDays | ( | bool | $a_showdays | ) |
Definition at line 111 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowHours | ( | bool | $a_showhours | ) |
Definition at line 121 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowMinutes | ( | bool | $a_showminutes | ) |
Definition at line 131 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowMonths | ( | bool | $a_show_months | ) |
Definition at line 101 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowSeconds | ( | bool | $a_showseconds | ) |
Definition at line 141 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 151 of file class.ilDurationInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\int(), setDays(), setHours(), setMinutes(), setMonths(), and setSeconds().
Here is the call graph for this function:| ilDurationInputGUI::unserializeData | ( | string | $a_data | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 323 of file class.ilDurationInputGUI.php.
References $data, setDays(), setHours(), setMinutes(), setMonths(), and setSeconds().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file class.ilDurationInputGUI.php.
Referenced by getDays().
|
protected |
Definition at line 31 of file class.ilDurationInputGUI.php.
Referenced by getHours().
|
protected |
Definition at line 32 of file class.ilDurationInputGUI.php.
Referenced by getMinutes().
|
protected |
Definition at line 29 of file class.ilDurationInputGUI.php.
Referenced by getMonths().
|
protected |
Definition at line 33 of file class.ilDurationInputGUI.php.
Referenced by getSeconds().
|
protected |
Definition at line 35 of file class.ilDurationInputGUI.php.
Referenced by getShowDays().
|
protected |
Definition at line 36 of file class.ilDurationInputGUI.php.
Referenced by getShowHours().
|
protected |
Definition at line 37 of file class.ilDurationInputGUI.php.
Referenced by getShowMinutes().
|
protected |
Definition at line 34 of file class.ilDurationInputGUI.php.
Referenced by getShowMonths().
|
protected |
Definition at line 38 of file class.ilDurationInputGUI.php.
Referenced by getShowSeconds().