| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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...  More... | |
| getMinuteStepSize () | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| 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 () | |
  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... | |
Protected Member Functions | |
| getDatePickerTimeFormat () | |
| parseDatePickerConfig () | |
| parse properties to datepicker config  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) | |
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 = ""  | 
        ||
| ) | 
Definition at line 44 of file class.ilDateDurationInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilDateDurationInputGUI::checkInput | ( | ) | 
Definition at line 208 of file class.ilDateDurationInputGUI.php.
References $end, ilFormPropertyGUI\$lng, $post, $start, $valid, ilDateTime\_after(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), getEnd(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getStart(), getStartYear(), IL_CAL_FKT_DATE, openIntervalsAllowed(), ilCalendarUtil\parseIncomingDate(), ilFormPropertyGUI\setAlert(), setEnd(), setStart(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
 Here is the call graph for this function:| ilDateDurationInputGUI::enabledToggleFullTime | ( | ) | 
Definition at line 66 of file class.ilDateDurationInputGUI.php.
References $toggle_fulltime.
Referenced by render().
 Here is the caller graph for this function:| 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 getShowSeconds(), getShowTime(), and ilFormPropertyGUI\int().
Referenced by checkInput(), render(), and setValueByArray().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilDateDurationInputGUI::getEnd | ( | ) | 
Definition at line 124 of file class.ilDateDurationInputGUI.php.
References $end.
Referenced by checkInput(), ilCmiXapiDateDurationInputGUI\getEndXapiDateTime(), getInput(), ilCmiXapiDateDurationInputGUI\getValue(), getValue(), hideSubForm(), and render().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getEndText | ( | ) | 
Definition at line 100 of file class.ilDateDurationInputGUI.php.
References $end_text.
Referenced by render().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getFormLabelFor | ( | ) | 
Definition at line 514 of file class.ilDateDurationInputGUI.php.
References ilFormPropertyGUI\getFieldId().
 Here is the call graph for this function:| ilDateDurationInputGUI::getInput | ( | ) | 
Definition at line 298 of file class.ilDateDurationInputGUI.php.
References getEnd(), ilFormPropertyGUI\getPostVar(), getStart(), openIntervalsAllowed(), and ilFormPropertyGUI\strArray().
 Here is the call graph for this function:| ilDateDurationInputGUI::getMinuteStepSize | ( | ) | 
Definition at line 164 of file class.ilDateDurationInputGUI.php.
References $minute_step_size.
Referenced by parseDatePickerConfig().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getShowSeconds | ( | ) | 
Definition at line 139 of file class.ilDateDurationInputGUI.php.
Referenced by getDatePickerTimeFormat().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getShowTime | ( | ) | 
Definition at line 134 of file class.ilDateDurationInputGUI.php.
References $showtime.
Referenced by getDatePickerTimeFormat().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getStart | ( | ) | 
Definition at line 105 of file class.ilDateDurationInputGUI.php.
References $start.
Referenced by checkInput(), getInput(), ilCmiXapiDateDurationInputGUI\getStartXapiDateTime(), ilCmiXapiDateDurationInputGUI\getValue(), getValue(), hideSubForm(), and render().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getStartText | ( | ) | 
Definition at line 90 of file class.ilDateDurationInputGUI.php.
References $start_text.
Referenced by render().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getStartYear | ( | ) | 
Definition at line 149 of file class.ilDateDurationInputGUI.php.
References $startyear.
Referenced by checkInput(), and parseDatePickerConfig().
 Here is the caller graph for this function:| ilDateDurationInputGUI::getTableFilterHTML | ( | ) | 
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 461 of file class.ilDateDurationInputGUI.php.
References render().
 Here is the call graph for this function:| ilDateDurationInputGUI::getTableFilterLabelFor | ( | ) | 
Get label "for" attribute value.
Implements ilTableFilterItem.
Definition at line 509 of file class.ilDateDurationInputGUI.php.
References ilFormPropertyGUI\getFieldId().
 Here is the call graph for this function:| ilDateDurationInputGUI::getValue | ( | ) | 
Definition at line 466 of file class.ilDateDurationInputGUI.php.
References getEnd(), getStart(), and IL_CAL_UNIX.
 Here is the call graph for this function:| ilDateDurationInputGUI::hideSubForm | ( | ) | 
Definition at line 488 of file class.ilDateDurationInputGUI.php.
References getEnd(), and getStart().
 Here is the call graph for this function:| ilDateDurationInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
Definition at line 452 of file class.ilDateDurationInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), 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.
References $allowOpenIntervals.
Referenced by checkInput(), getInput(), and setValueByArray().
 Here is the caller graph for this function:
      
  | 
  protected | 
parse properties to datepicker config
Definition at line 331 of file class.ilDateDurationInputGUI.php.
References getMinuteStepSize(), and getStartYear().
Referenced by render().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilDateDurationInputGUI::render | ( | ) | 
Definition at line 343 of file class.ilDateDurationInputGUI.php.
References ilFormPropertyGUI\$lng, $user, ilCalendarUtil\addDateTimePicker(), enabledToggleFullTime(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), getEnd(), getEndText(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getStart(), getStartText(), ilCalendarUtil\getUserDateFormat(), IL_CAL_FKT_DATE, parseDatePickerConfig(), ilLegacyFormElementsUtil\prepareFormOutput(), setShowTime(), and ilLanguage\txt().
Referenced by getTableFilterHTML(), and insert().
 Here is the call graph for this function:
 Here is the caller 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.
Referenced by checkInput(), setValue(), ILIAS\LegalDocuments\Legacy\ResettingDurationInputGUI\setValueByArray(), and setValueByArray().
 Here is the caller graph for this function:| 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.
Referenced by render().
 Here is the caller graph for this function:| 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.
Referenced by checkInput(), setValue(), ILIAS\LegalDocuments\Legacy\ResettingDurationInputGUI\setValueByArray(), and setValueByArray().
 Here is the caller graph for this function:| 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, setEnd(), and setStart().
 Here is the call graph for this function:| ilDateDurationInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 169 of file class.ilDateDurationInputGUI.php.
References getDatePickerTimeFormat(), ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), IL_CAL_UNIX, openIntervalsAllowed(), ilCalendarUtil\parseIncomingDate(), setEnd(), and setStart().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 40 of file class.ilDateDurationInputGUI.php.
Referenced by openIntervalsAllowed().
      
  | 
  protected | 
Definition at line 35 of file class.ilDateDurationInputGUI.php.
Referenced by checkInput(), and getEnd().
      
  | 
  protected | 
Definition at line 33 of file class.ilDateDurationInputGUI.php.
Referenced by getEndText().
      
  | 
  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.
Referenced by getMinuteStepSize().
      
  | 
  protected | 
Definition at line 36 of file class.ilDateDurationInputGUI.php.
Referenced by getShowTime().
      
  | 
  protected | 
Definition at line 30 of file class.ilDateDurationInputGUI.php.
Referenced by checkInput(), and getStart().
      
  | 
  protected | 
Definition at line 32 of file class.ilDateDurationInputGUI.php.
Referenced by getStartText().
      
  | 
  protected | 
Definition at line 31 of file class.ilDateDurationInputGUI.php.
Referenced by getStartYear().
      
  | 
  protected | 
Definition at line 37 of file class.ilDateDurationInputGUI.php.
Referenced by enabledToggleFullTime().
      
  | 
  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.
Referenced by render().