|
ILIAS
Release_4_0_x_branch Revision 61816
|
List of dates. More...
Collaboration diagram for ilDateList:Public Member Functions | |
| __construct ($a_type) | |
| Constructor. | |
| get () | |
| get | |
| getAtPosition ($a_pos) | |
| get item at specific position | |
| add ($date) | |
| add a date to the date list | |
| merge (ilDateList $other_list) | |
| Merge two lists. | |
| remove (ilDateTime $remove) | |
| remove from list | |
| sort () | |
| Sort list. | |
| __toString () | |
| to string | |
Data Fields | |
| const | TYPE_DATE = 1 |
| const | TYPE_DATETIME = 2 |
Protected Attributes | |
| $list_item = array() | |
| $type | |
| ilDateList::__construct | ( | $a_type | ) |
Constructor.
public
| type | list of TYPE_DATE or type TYPE_DATETIME |
Definition at line 50 of file class.ilDateList.php.
| ilDateList::__toString | ( | ) |
to string
public
Definition at line 150 of file class.ilDateList.php.
References $out, and IL_CAL_DATETIME.
| ilDateList::add | ( | $date | ) |
add a date to the date list
public
| object | ilDateTime |
Definition at line 93 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by merge().
Here is the caller graph for this function:| ilDateList::get | ( | ) |
get
public
Definition at line 62 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
public
| int | position (first position is 1) |
Definition at line 74 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules().
Here is the caller graph for this function:| ilDateList::merge | ( | ilDateList | $other_list | ) |
Merge two lists.
public
| object | ilDateList |
Definition at line 108 of file class.ilDateList.php.
Here is the call graph for this function:| ilDateList::remove | ( | ilDateTime | $remove | ) |
remove from list
public
| object | ilDateTime |
Definition at line 123 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by ilCalendarRecurrenceCalculator\applyLimits().
Here is the caller graph for this function:| ilDateList::sort | ( | ) |
Sort list.
public
Definition at line 139 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), and ilCalendarRecurrenceCalculator\applyLimits().
Here is the caller 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 ilCalendarRecurrenceCalculator\initDateList().