ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This class represents a duration (typical hh:mm:ss) property in a property form. More...
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 () | |
getInput () | |
insert (ilTemplate $a_tpl) | |
render () | |
getTableFilterHTML () | |
serializeData () | |
unserializeData (string $a_data) | |
getValueInSeconds () | |
getPostValueForComparison () | |
getValueAsArray () | |
![]() | |
__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 |
![]() | |
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... | |
![]() | |
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 26 of file class.ilDurationInputGUI.php.
ilDurationInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 39 of file class.ilDurationInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
ilDurationInputGUI::checkInput | ( | ) |
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().
ilDurationInputGUI::getHours | ( | ) |
Definition at line 65 of file class.ilDurationInputGUI.php.
References $hours.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
ilDurationInputGUI::getInput | ( | ) |
Definition at line 166 of file class.ilDurationInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\strArray().
Referenced by getPostValueForComparison().
ilDurationInputGUI::getMinutes | ( | ) |
Definition at line 75 of file class.ilDurationInputGUI.php.
References $minutes.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
ilDurationInputGUI::getMonths | ( | ) |
Definition at line 90 of file class.ilDurationInputGUI.php.
References $months.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
ilDurationInputGUI::getPostValueForComparison | ( | ) |
Definition at line 354 of file class.ilDurationInputGUI.php.
References getInput(), getShowDays(), getShowHours(), getShowMinutes(), getShowMonths(), getShowSeconds(), and ilFormPropertyGUI\int().
ilDurationInputGUI::getSeconds | ( | ) |
Definition at line 95 of file class.ilDurationInputGUI.php.
References $seconds.
Referenced by getValueAsArray(), getValueInSeconds(), render(), and serializeData().
ilDurationInputGUI::getShowDays | ( | ) |
Definition at line 115 of file class.ilDurationInputGUI.php.
References $showdays.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
ilDurationInputGUI::getShowHours | ( | ) |
Definition at line 125 of file class.ilDurationInputGUI.php.
References $showhours.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
ilDurationInputGUI::getShowMinutes | ( | ) |
Definition at line 135 of file class.ilDurationInputGUI.php.
References $showminutes.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
ilDurationInputGUI::getShowMonths | ( | ) |
Definition at line 105 of file class.ilDurationInputGUI.php.
References $showmonths.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
ilDurationInputGUI::getShowSeconds | ( | ) |
Definition at line 145 of file class.ilDurationInputGUI.php.
References $showseconds.
Referenced by getPostValueForComparison(), getValueInSeconds(), and render().
ilDurationInputGUI::getTableFilterHTML | ( | ) |
Definition at line 305 of file class.ilDurationInputGUI.php.
References render().
ilDurationInputGUI::getValueAsArray | ( | ) |
Definition at line 380 of file class.ilDurationInputGUI.php.
References getDays(), getHours(), getMinutes(), getMonths(), and getSeconds().
ilDurationInputGUI::getValueInSeconds | ( | ) |
Definition at line 333 of file class.ilDurationInputGUI.php.
References getDays(), getHours(), getMinutes(), getMonths(), getSeconds(), getShowDays(), getShowHours(), getShowMinutes(), getShowMonths(), and getShowSeconds().
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().
ilDurationInputGUI::render | ( | ) |
Definition at line 180 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().
ilDurationInputGUI::serializeData | ( | ) |
Definition at line 311 of file class.ilDurationInputGUI.php.
References $data, getDays(), getHours(), getMinutes(), getMonths(), and getSeconds().
ilDurationInputGUI::setDays | ( | int | $a_days | ) |
Definition at line 50 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
ilDurationInputGUI::setHours | ( | int | $a_hours | ) |
Definition at line 60 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
ilDurationInputGUI::setMinutes | ( | int | $a_minutes | ) |
Definition at line 70 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
ilDurationInputGUI::setMonths | ( | int | $a_months | ) |
Definition at line 85 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
ilDurationInputGUI::setSeconds | ( | int | $a_seconds | ) |
Definition at line 80 of file class.ilDurationInputGUI.php.
Referenced by setValueByArray(), and unserializeData().
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.
Referenced by ilConsultationHoursGUI\initFormSequence().
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().
ilDurationInputGUI::unserializeData | ( | string | $a_data | ) |
Definition at line 322 of file class.ilDurationInputGUI.php.
References $data, setDays(), setHours(), setMinutes(), setMonths(), and setSeconds().
|
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().