ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
List of dates. More...
Public Member Functions | |
__construct (int $a_type) | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
get () | |
getAtPosition (int $a_pos) | |
get item at specific position More... | |
add (ilDateTime $date) | |
add a date to the date list More... | |
merge (ilDateList $other_list) | |
Merge two lists. More... | |
remove (ilDateTime $remove) | |
remove from list More... | |
removeByDAY (ilDateTime $remove) | |
sort () | |
Sort list. More... | |
__toString () | |
Data Fields | |
const | TYPE_DATE = 1 |
const | TYPE_DATETIME = 2 |
Protected Attributes | |
array | $list_item = array() |
int | $type |
ilDateList::__construct | ( | int | $a_type | ) |
Definition at line 41 of file class.ilDateList.php.
ilDateList::__toString | ( | ) |
ilDateList::add | ( | ilDateTime | $date | ) |
add a date to the date list
Definition at line 111 of file class.ilDateList.php.
References ilDateTime\get(), and IL_CAL_UNIX.
Referenced by merge().
ilDateList::current | ( | ) |
Definition at line 58 of file class.ilDateList.php.
Referenced by valid().
ilDateList::get | ( | ) |
Definition at line 89 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHRules(), ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\applyLimits(), and merge().
ilDateList::getAtPosition | ( | int | $a_pos | ) |
get item at specific position
Definition at line 97 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules().
ilDateList::key | ( | ) |
Definition at line 66 of file class.ilDateList.php.
ilDateList::merge | ( | ilDateList | $other_list | ) |
Merge two lists.
Definition at line 119 of file class.ilDateList.php.
ilDateList::next | ( | ) |
Definition at line 74 of file class.ilDateList.php.
ilDateList::remove | ( | ilDateTime | $remove | ) |
remove from list
Definition at line 129 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by ilCalendarRecurrenceCalculator\applyDurationPeriod(), and ilCalendarRecurrenceCalculator\applyLimits().
ilDateList::removeByDAY | ( | ilDateTime | $remove | ) |
Definition at line 137 of file class.ilDateList.php.
References ILIAS\LTI\ToolProvider\$key, ilDateTime\_equals(), IL_CAL_DAY, and ilTimeZone\UTC.
ilDateList::rewind | ( | ) |
Definition at line 50 of file class.ilDateList.php.
ilDateList::sort | ( | ) |
Sort list.
Definition at line 149 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), and ilCalendarRecurrenceCalculator\applyLimits().
ilDateList::valid | ( | ) |
Definition at line 82 of file class.ilDateList.php.
References current().
|
protected |
Definition at line 37 of file class.ilDateList.php.
|
protected |
Definition at line 39 of file class.ilDateList.php.
const ilDateList::TYPE_DATE = 1 |
const ilDateList::TYPE_DATETIME = 2 |
Definition at line 35 of file class.ilDateList.php.
Referenced by ilConsultationHoursGUI\createAppointments(), and ilCalendarRecurrenceCalculator\initDateList().