ILIAS
Release_3_10_x_branch Revision 61812
|
This class represents an input GUI for recurring events/appointments (course events or calendar appointments) More...
Public Member Functions | |
__construct ($a_title, $a_postvar) | |
Constructor. | |
checkInput () | |
check input | |
setRecurrence ($a_rec) | |
set recurrence object | |
enableUntilSelection ($a_enabled) | |
enable until selection | |
enabledUntilSelection () | |
enabled until selection | |
setEnabledSubForms ($a_sub_forms) | |
set enabled subforms | |
getEnabledSubForms () | |
get enabled subforms | |
insert ($a_tpl) | |
insert | |
Public Member Functions inherited from ilCustomInputGUI | |
setHtml ($a_html) | |
Set Html. | |
getHtml () | |
Get Html. | |
setValueByArray ($a_values) | |
Set value by array. | |
insert (&$a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
setSubformMode ($a_subformmode) | |
Set Subform Mode. | |
getSubformMode () | |
Get Subform Mode. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
Public Member Functions inherited from ilFormPropertyGUI | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. |
Data Fields | |
const | REC_LIMITED = 2 |
const | REC_UNLIMITED = 1 |
Protected Member Functions | |
buildWeekDaySelection ($tpl) | |
build weekday checkboxes | |
buildMonthlyByDaySelection ($tpl) | |
build monthly by day list (e.g second monday) | |
buildMonthlyByMonthDaySelection ($tpl) | |
build monthly bymonthday selection | |
buildYearlyByMonthDaySelection ($tpl) | |
protected | |
buildYearlyByDaySelection ($tpl) | |
protected | |
buildUntilSelection ($tpl) | |
build selection for ending date |
Protected Attributes | |
$lng | |
$recurrence | |
$user_settings | |
$until_selection = true | |
$enabled_subforms | |
Protected Attributes inherited from ilCustomInputGUI | |
$html | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
$subformmode = "bottom" | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false |
This class represents an input GUI for recurring events/appointments (course events or calendar appointments)
Definition at line 36 of file class.ilRecurrenceInputGUI.php.
ilRecurrenceInputGUI::__construct | ( | $a_title, | |
$a_postvar | |||
) |
Constructor.
public
string | title |
string | postvar |
Reimplemented from ilCustomInputGUI.
Definition at line 61 of file class.ilRecurrenceInputGUI.php.
References $lng, $tpl, and ilCalendarUserSettings\_getInstanceByUserId().
|
protected |
build monthly by day list (e.g second monday)
protected
@return |
Definition at line 263 of file class.ilRecurrenceInputGUI.php.
References $tpl, ilCalendarUtil\_numericDayToString(), and ilUtil\formSelect().
Referenced by insert().
|
protected |
build monthly bymonthday selection
protected
@return |
Definition at line 355 of file class.ilRecurrenceInputGUI.php.
References $tpl, and ilUtil\formSelect().
Referenced by insert().
|
protected |
build selection for ending date
protected
object | tpl |
Definition at line 555 of file class.ilRecurrenceInputGUI.php.
References $tpl, and enabledUntilSelection().
Referenced by insert().
|
protected |
build weekday checkboxes
protected
object | tpl |
Definition at line 227 of file class.ilRecurrenceInputGUI.php.
References $tpl, and ilCalendarUtil\_numericDayToString().
Referenced by insert().
|
protected |
protected
@return |
Definition at line 467 of file class.ilRecurrenceInputGUI.php.
References $tpl, ilCalendarUtil\_numericDayToString(), ilCalendarUtil\_numericMonthToString(), and ilUtil\formSelect().
Referenced by insert().
|
protected |
protected
objet | tpl |
Definition at line 400 of file class.ilRecurrenceInputGUI.php.
References $tpl, ilCalendarUtil\_numericMonthToString(), and ilUtil\formSelect().
Referenced by insert().
ilRecurrenceInputGUI::checkInput | ( | ) |
check input
public
@return |
Reimplemented from ilFormPropertyGUI.
Definition at line 81 of file class.ilRecurrenceInputGUI.php.
References $lng, REC_LIMITED, and ilFormPropertyGUI\setAlert().
ilRecurrenceInputGUI::enabledUntilSelection | ( | ) |
enabled until selection
public
Definition at line 131 of file class.ilRecurrenceInputGUI.php.
References $until_selection.
Referenced by buildUntilSelection().
ilRecurrenceInputGUI::enableUntilSelection | ( | $a_enabled | ) |
enable until selection
public
Definition at line 120 of file class.ilRecurrenceInputGUI.php.
Referenced by ilObjSessionGUI\initForm().
ilRecurrenceInputGUI::getEnabledSubForms | ( | ) |
get enabled subforms
public
Definition at line 155 of file class.ilRecurrenceInputGUI.php.
References $enabled_subforms.
ilRecurrenceInputGUI::insert | ( | $a_tpl | ) |
insert
public
@return |
Definition at line 167 of file class.ilRecurrenceInputGUI.php.
References $tpl, buildMonthlyByDaySelection(), buildMonthlyByMonthDaySelection(), buildUntilSelection(), buildWeekDaySelection(), buildYearlyByDaySelection(), buildYearlyByMonthDaySelection(), ilUtil\formSelect(), IL_CAL_FREQ_DAILY, IL_CAL_FREQ_MONTHLY, IL_CAL_FREQ_WEEKLY, and IL_CAL_FREQ_YEARLY.
ilRecurrenceInputGUI::setEnabledSubForms | ( | $a_sub_forms | ) |
set enabled subforms
public
array(IL_CAL_FREQ_DAILY,IL_CAL_FREQ_WEEKLY...) |
Definition at line 144 of file class.ilRecurrenceInputGUI.php.
ilRecurrenceInputGUI::setRecurrence | ( | $a_rec | ) |
set recurrence object
public
@return |
Definition at line 109 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 48 of file class.ilRecurrenceInputGUI.php.
Referenced by getEnabledSubForms().
|
protected |
Definition at line 41 of file class.ilRecurrenceInputGUI.php.
Referenced by __construct(), and checkInput().
|
protected |
Definition at line 43 of file class.ilRecurrenceInputGUI.php.
|
protected |
Definition at line 46 of file class.ilRecurrenceInputGUI.php.
Referenced by enabledUntilSelection().
|
protected |
Definition at line 44 of file class.ilRecurrenceInputGUI.php.
const ilRecurrenceInputGUI::REC_LIMITED = 2 |
Definition at line 38 of file class.ilRecurrenceInputGUI.php.
Referenced by checkInput().
const ilRecurrenceInputGUI::REC_UNLIMITED = 1 |
Definition at line 39 of file class.ilRecurrenceInputGUI.php.