|
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 ilDateDurationInputGUI:
Collaboration diagram for ilDateDurationInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| enableToggleFullTime (string $a_title, bool $a_checked) | |
| enabledToggleFullTime () | |
| setStart (ilDateTime $a_date=null) | |
| Set start date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME));. More... | |
| setStartText (string $a_txt) | |
| getStartText () | |
| setEndText (string $a_txt) | |
| getEndText () | |
| getStart () | |
| setEnd (ilDateTime $a_date=null) | |
| Set end date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME));. More... | |
| getEnd () | |
| setShowTime (bool $a_showtime) | |
| getShowTime () | |
| getShowSeconds () | |
| setStartYear (int $a_year) | |
| getStartYear () | |
| setMinuteStepSize (int $a_step_size) | |
| Set minute step size E.g 5 => The selection will only show 00,05,10... minutes. More... | |
| getMinuteStepSize () | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| render () | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getValue () | |
| setValue ($value) | |
| Called from table gui with the stored session value Attention: If the user resets the table filter, a boolean false is passed by the table gui. More... | |
| hideSubForm () | |
| openIntervalsAllowed () | |
| setAllowOpenIntervals (bool $allowOpenInterval) | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
| getFormLabelFor () | |
| Get label "for" attribute value for form. More... | |
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... | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
Protected Member Functions | |
| getDatePickerTimeFormat () | |
| parseDatePickerConfig () | |
| parse properties to datepicker config 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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
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 input GUI for a time span (start and end date)
Definition at line 26 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 44 of file class.ilDateDurationInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilDateDurationInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 208 of file class.ilDateDurationInputGUI.php.
References $format, $lng, $post, $valid, ilDateTime\_after(), IL_CAL_FKT_DATE, ilCalendarUtil\parseIncomingDate(), and ILIAS\Repository\strArray().
Here is the call graph for this function:| ilDateDurationInputGUI::enabledToggleFullTime | ( | ) |
Definition at line 66 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::enableToggleFullTime | ( | string | $a_title, |
| bool | $a_checked | ||
| ) |
Definition at line 57 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 323 of file class.ilDateDurationInputGUI.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilDateDurationInputGUI::getEnd | ( | ) |
Definition at line 124 of file class.ilDateDurationInputGUI.php.
Referenced by ilCmiXapiDateDurationInputGUI\getEndXapiDateTime(), and ilCmiXapiDateDurationInputGUI\getValue().
Here is the caller graph for this function:| ilDateDurationInputGUI::getEndText | ( | ) |
Definition at line 100 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getFormLabelFor | ( | ) |
Get label "for" attribute value for form.
Reimplemented from ilFormPropertyGUI.
Definition at line 514 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getInput | ( | ) |
Definition at line 298 of file class.ilDateDurationInputGUI.php.
References ILIAS\Repository\strArray().
Here is the call graph for this function:| ilDateDurationInputGUI::getMinuteStepSize | ( | ) |
Definition at line 164 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getShowSeconds | ( | ) |
Definition at line 139 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getShowTime | ( | ) |
Definition at line 134 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getStart | ( | ) |
Definition at line 105 of file class.ilDateDurationInputGUI.php.
Referenced by ilCmiXapiDateDurationInputGUI\getStartXapiDateTime(), and ilCmiXapiDateDurationInputGUI\getValue().
Here is the caller graph for this function:| ilDateDurationInputGUI::getStartText | ( | ) |
Definition at line 90 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getStartYear | ( | ) |
Definition at line 149 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 461 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getTableFilterLabelFor | ( | ) |
Get label "for" attribute value.
Implements ilTableFilterItem.
Definition at line 509 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::getValue | ( | ) |
Reimplemented in ilCmiXapiDateDurationInputGUI.
Definition at line 466 of file class.ilDateDurationInputGUI.php.
References IL_CAL_UNIX.
| ilDateDurationInputGUI::hideSubForm | ( | ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 488 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 452 of file class.ilDateDurationInputGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilDateDurationInputGUI::openIntervalsAllowed | ( | ) |
Definition at line 499 of file class.ilDateDurationInputGUI.php.
|
protected |
parse properties to datepicker config
Definition at line 331 of file class.ilDateDurationInputGUI.php.
References $config.
| ilDateDurationInputGUI::render | ( | ) |
Definition at line 343 of file class.ilDateDurationInputGUI.php.
References $ilUser, $lng, $tpl, ilCalendarUtil\addDateTimePicker(), ilCalendarUtil\getUserDateFormat(), IL_CAL_FKT_DATE, and ilLegacyFormElementsUtil\prepareFormOutput().
Here is the call graph for this function:| ilDateDurationInputGUI::setAllowOpenIntervals | ( | bool | $allowOpenInterval | ) |
Definition at line 504 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setEnd | ( | ilDateTime | $a_date = null | ) |
Set end date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME));.
For fullday (no timezone conversion) events use:
$dt_form->setDate(new ilDate('2008-08-01',IL_CAL_DATE));
Definition at line 119 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setEndText | ( | string | $a_txt | ) |
Definition at line 95 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setMinuteStepSize | ( | int | $a_step_size | ) |
Set minute step size E.g 5 => The selection will only show 00,05,10... minutes.
| int | $a_step_size | minute step_size 1,5,10,15,20... |
Definition at line 159 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setShowTime | ( | bool | $a_showtime | ) |
Definition at line 129 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setStart | ( | ilDateTime | $a_date = null | ) |
Set start date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME));.
For fullday (no timezone conversion) events use:
$dt_form->setDate(new ilDate('2008-08-01',IL_CAL_DATE));
Definition at line 80 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setStartText | ( | string | $a_txt | ) |
Definition at line 85 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setStartYear | ( | int | $a_year | ) |
Definition at line 144 of file class.ilDateDurationInputGUI.php.
| ilDateDurationInputGUI::setValue | ( | $value | ) |
Called from table gui with the stored session value Attention: If the user resets the table filter, a boolean false is passed by the table gui.
| array | bool | $value |
| ilDateTimeException |
Definition at line 480 of file class.ilDateDurationInputGUI.php.
References IL_CAL_UNIX.
| ilDateDurationInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 169 of file class.ilDateDurationInputGUI.php.
References $format, IL_CAL_UNIX, and ilCalendarUtil\parseIncomingDate().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 35 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 33 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 42 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 41 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 34 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 36 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 30 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 32 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 31 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 37 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 39 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 38 of file class.ilDateDurationInputGUI.php.
|
protected |
Definition at line 28 of file class.ilDateDurationInputGUI.php.