ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
This class represents an input GUI for recurring events/appointments (course events or calendar appointments) More...
Public Member Functions | |
__construct (string $a_title, string $a_postvar) | |
checkInput () | |
setRecurrence (ilCalendarRecurrence $a_rec) | |
getRecurrence () | |
allowUnlimitedRecurrences (bool $a_status) | |
Allow unlimited recurrences. More... | |
isUnlimitedRecurrenceAllowed () | |
setEnabledSubForms (array $a_sub_forms) | |
set enabled subforms More... | |
getEnabledSubForms () | |
insert (ilTemplate $a_tpl) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
setHtml (string $a_html) | |
getHtml () | |
setValueByArray (array $a_values) | |
insert (ilTemplate $a_tpl) | |
setSkipRequiredCheck (bool $skip) | |
checkInput () | |
getInput () | |
![]() | |
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) | |
![]() | |
__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 | |
getRecurrenceInputByTypeAsInt (string $input) | |
getRecurrenceInputByTypeAsString (string $input) | |
loadRecurrence () | |
buildWeekDaySelection (ilTemplate $tpl) | |
build weekday checkboxes More... | |
buildMonthlyByDaySelection (ilTemplate $tpl) | |
build monthly by day list (e.g second monday) More... | |
buildMonthlyByMonthDaySelection (ilTemplate $tpl) | |
build monthly bymonthday selection More... | |
buildYearlyByMonthDaySelection (ilTemplate $tpl) | |
buildYearlyByDaySelection (ilTemplate $tpl) | |
buildUntilSelection (ilTemplate $tpl) | |
build selection for ending date 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) | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
This class represents an input GUI for recurring events/appointments (course events or calendar appointments)
Definition at line 27 of file class.ilRecurrenceInputGUI.php.
ilRecurrenceInputGUI::__construct | ( | string | $a_title, |
string | $a_postvar | ||
) |
Definition at line 45 of file class.ilRecurrenceInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilCalendarUserSettings\_getInstanceByUserId(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilRecurrenceInputGUI::allowUnlimitedRecurrences | ( | bool | $a_status | ) |
Allow unlimited recurrences.
Definition at line 239 of file class.ilRecurrenceInputGUI.php.
|
protected |
build monthly by day list (e.g second monday)
Definition at line 373 of file class.ilRecurrenceInputGUI.php.
References ilCalendarUtil\_numericDayToString(), ilLegacyFormElementsUtil\formSelect(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by insert().
|
protected |
build monthly bymonthday selection
Definition at line 453 of file class.ilRecurrenceInputGUI.php.
References ilLegacyFormElementsUtil\formSelect(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by insert().
|
protected |
build selection for ending date
Definition at line 618 of file class.ilRecurrenceInputGUI.php.
References isUnlimitedRecurrenceAllowed(), ILIAS\Repository\lng(), null, and HTML_Template_IT\setVariable().
Referenced by insert().
|
protected |
build weekday checkboxes
Definition at line 345 of file class.ilRecurrenceInputGUI.php.
References ilCalendarUtil\_numericDayToString(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by insert().
|
protected |
Definition at line 539 of file class.ilRecurrenceInputGUI.php.
References ilCalendarUtil\_numericDayToString(), ilCalendarUtil\_numericMonthToString(), ilLegacyFormElementsUtil\formSelect(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by insert().
|
protected |
Definition at line 487 of file class.ilRecurrenceInputGUI.php.
References ilCalendarUtil\_numericMonthToString(), ilLegacyFormElementsUtil\formSelect(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by insert().
ilRecurrenceInputGUI::checkInput | ( | ) |
Definition at line 60 of file class.ilRecurrenceInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ilCalendarRecurrence\FREQ_NONE, getRecurrenceInputByTypeAsInt(), getRecurrenceInputByTypeAsString(), ILIAS\Repository\lng(), loadRecurrence(), and ilFormPropertyGUI\setAlert().
ilRecurrenceInputGUI::getEnabledSubForms | ( | ) |
Definition at line 259 of file class.ilRecurrenceInputGUI.php.
References $enabled_subforms.
Referenced by insert().
ilRecurrenceInputGUI::getRecurrence | ( | ) |
Definition at line 231 of file class.ilRecurrenceInputGUI.php.
References $recurrence.
Referenced by loadRecurrence().
|
protected |
Definition at line 90 of file class.ilRecurrenceInputGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by checkInput(), and loadRecurrence().
|
protected |
Definition at line 101 of file class.ilRecurrenceInputGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by checkInput(), and loadRecurrence().
ilRecurrenceInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 267 of file class.ilRecurrenceInputGUI.php.
References buildMonthlyByDaySelection(), buildMonthlyByMonthDaySelection(), buildUntilSelection(), buildWeekDaySelection(), buildYearlyByDaySelection(), buildYearlyByMonthDaySelection(), ilLegacyFormElementsUtil\formSelect(), ilCalendarRecurrence\FREQ_DAILY, ilCalendarRecurrence\FREQ_MONTHLY, ilCalendarRecurrence\FREQ_WEEKLY, ilCalendarRecurrence\FREQ_YEARLY, getEnabledSubForms(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilRecurrenceInputGUI::isUnlimitedRecurrenceAllowed | ( | ) |
Definition at line 244 of file class.ilRecurrenceInputGUI.php.
References $allow_unlimited_recurrences.
Referenced by buildUntilSelection().
|
protected |
Definition at line 112 of file class.ilRecurrenceInputGUI.php.
References ilCalendarRecurrence\FREQ_DAILY, ilCalendarRecurrence\FREQ_MONTHLY, ilCalendarRecurrence\FREQ_WEEKLY, ilCalendarRecurrence\FREQ_YEARLY, getRecurrence(), getRecurrenceInputByTypeAsInt(), getRecurrenceInputByTypeAsString(), ILIAS\FileDelivery\http(), null, and ILIAS\Repository\refinery().
Referenced by checkInput().
ilRecurrenceInputGUI::setEnabledSubForms | ( | array | $a_sub_forms | ) |
set enabled subforms
array(IL_CAL_FREQ_DAILY,FREQ_WEEKLY...) |
Definition at line 254 of file class.ilRecurrenceInputGUI.php.
Referenced by ilConsultationHoursGUI\initFormSequence().
ilRecurrenceInputGUI::setRecurrence | ( | ilCalendarRecurrence | $a_rec | ) |
Definition at line 226 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 36 of file class.ilRecurrenceInputGUI.php.
Referenced by isUnlimitedRecurrenceAllowed().
|
protected |
Definition at line 38 of file class.ilRecurrenceInputGUI.php.
Referenced by getEnabledSubForms().
|
protected |
Definition at line 32 of file class.ilRecurrenceInputGUI.php.
Referenced by getRecurrence().
|
protected |
Definition at line 33 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 34 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 29 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 30 of file class.ilRecurrenceInputGUI.php.