|
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 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 | |
| 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 duration (typical hh:mm:ss) property in a property form.
Definition at line 26 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 39 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 161 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::getDays | ( | ) |
Definition at line 55 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 65 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 166 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 75 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 90 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 354 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 95 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 115 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 125 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 135 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 105 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 145 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 305 of file class.ilDurationInputGUI.php.
References render().
Here is the call graph for this function:| ilDurationInputGUI::getValueAsArray | ( | ) |
Definition at line 380 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 333 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 171 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 180 of file class.ilDurationInputGUI.php.
References $i, ilFormPropertyGUI\$lng, $tpl, 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 311 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 50 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 60 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 70 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 85 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 80 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 110 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowHours | ( | bool | $a_showhours | ) |
Definition at line 120 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowMinutes | ( | bool | $a_showminutes | ) |
Definition at line 130 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowMonths | ( | bool | $a_show_months | ) |
Definition at line 100 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setShowSeconds | ( | bool | $a_showseconds | ) |
Definition at line 140 of file class.ilDurationInputGUI.php.
| ilDurationInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 150 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 322 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 29 of file class.ilDurationInputGUI.php.
Referenced by getDays().
|
protected |
Definition at line 30 of file class.ilDurationInputGUI.php.
Referenced by getHours().
|
protected |
Definition at line 31 of file class.ilDurationInputGUI.php.
Referenced by getMinutes().
|
protected |
Definition at line 28 of file class.ilDurationInputGUI.php.
Referenced by getMonths().
|
protected |
Definition at line 32 of file class.ilDurationInputGUI.php.
Referenced by getSeconds().
|
protected |
Definition at line 34 of file class.ilDurationInputGUI.php.
Referenced by getShowDays().
|
protected |
Definition at line 35 of file class.ilDurationInputGUI.php.
Referenced by getShowHours().
|
protected |
Definition at line 36 of file class.ilDurationInputGUI.php.
Referenced by getShowMinutes().
|
protected |
Definition at line 33 of file class.ilDurationInputGUI.php.
Referenced by getShowMonths().
|
protected |
Definition at line 37 of file class.ilDurationInputGUI.php.
Referenced by getShowSeconds().