|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
List of dates. More...
Inheritance diagram for ilDateList:
Collaboration diagram for ilDateList:Public Member Functions | |
| __construct ($a_type) | |
| Constructor. More... | |
| rewind () | |
| Iterator Rewind. More... | |
| current () | |
| Iterator Current. More... | |
| key () | |
| Iterator key. More... | |
| next () | |
| Iterator next. More... | |
| valid () | |
| Iterator valid. More... | |
| get () | |
| get More... | |
| getAtPosition ($a_pos) | |
| get item at specific position More... | |
| add ($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 () | |
| to string More... | |
Data Fields | |
| const | TYPE_DATE = 1 |
| const | TYPE_DATETIME = 2 |
Protected Attributes | |
| $list_item = array() | |
| $type | |
| ilDateList::__construct | ( | $a_type | ) |
Constructor.
@access public
| type | list of TYPE_DATE or type TYPE_DATETIME |
Definition at line 50 of file class.ilDateList.php.
| ilDateList::__toString | ( | ) |
to string
@access public
Definition at line 209 of file class.ilDateList.php.
References $out, and IL_CAL_DATETIME.
| ilDateList::add | ( | $date | ) |
add a date to the date list
@access public
| object | ilDateTime |
Definition at line 140 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by merge().
Here is the caller graph for this function:| ilDateList::current | ( | ) |
| ilDateList::get | ( | ) |
get
@access public
Definition at line 109 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHRules(), ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\applyLimits(), and merge().
Here is the caller graph for this function:| ilDateList::getAtPosition | ( | $a_pos | ) |
get item at specific position
@access public
| int | position (first position is 1) |
Definition at line 121 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules().
Here is the caller graph for this function:| ilDateList::key | ( | ) |
Iterator key.
Definition at line 79 of file class.ilDateList.php.
References key().
Referenced by key().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDateList::merge | ( | ilDateList | $other_list | ) |
Merge two lists.
@access public
| object | ilDateList |
Definition at line 155 of file class.ilDateList.php.
Here is the call graph for this function:| ilDateList::next | ( | ) |
Iterator next.
Definition at line 88 of file class.ilDateList.php.
References next().
Referenced by next().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDateList::remove | ( | ilDateTime | $remove | ) |
remove from list
@access public
| object | ilDateTime |
Definition at line 170 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by ilCalendarRecurrenceCalculator\applyLimits().
Here is the caller graph for this function:| ilDateList::removeByDAY | ( | ilDateTime | $remove | ) |
Definition at line 180 of file class.ilDateList.php.
References ilDateTime\_equals(), IL_CAL_DAY, and ilTimeZone\UTC.
Here is the call graph for this function:| ilDateList::rewind | ( | ) |
Iterator Rewind.
Definition at line 61 of file class.ilDateList.php.
| ilDateList::sort | ( | ) |
Sort list.
@access public
Definition at line 198 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), and ilCalendarRecurrenceCalculator\applyLimits().
Here is the caller graph for this function:| ilDateList::valid | ( | ) |
Iterator valid.
Definition at line 97 of file class.ilDateList.php.
References current().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.ilDateList.php.
|
protected |
Definition at line 41 of file class.ilDateList.php.
| const ilDateList::TYPE_DATE = 1 |
Definition at line 36 of file class.ilDateList.php.
Referenced by ilCalendarUtil\_buildMonthDayList(), ilCalendarUtil\_buildWeekDayList(), and ilCalendarRecurrenceCalculator\initDateList().
| const ilDateList::TYPE_DATETIME = 2 |
Definition at line 37 of file class.ilDateList.php.
Referenced by ilConsultationHoursGUI\createAppointments(), and ilCalendarRecurrenceCalculator\initDateList().