ILIAS
Release_4_1_x_branch Revision 61804
|
List of dates. More...
Public Member Functions | |
__construct ($a_type) | |
Constructor. | |
rewind () | |
Iterator Rewind. | |
current () | |
Iterator Current. | |
key () | |
Iterator key. | |
next () | |
Iterator next. | |
valid () | |
Iterator valid. | |
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 | |
removeByDAY (ilDateTime $remove) | |
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 209 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 140 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by merge().
ilDateList::current | ( | ) |
Iterator Current.
Definition at line 70 of file class.ilDateList.php.
Referenced by valid().
ilDateList::get | ( | ) |
get
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().
ilDateList::getAtPosition | ( | $a_pos | ) |
get item at specific position
public
int | position (first position is 1) |
Definition at line 121 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules().
ilDateList::key | ( | ) |
ilDateList::merge | ( | ilDateList | $other_list | ) |
Merge two lists.
public
object | ilDateList |
Definition at line 155 of file class.ilDateList.php.
ilDateList::next | ( | ) |
ilDateList::remove | ( | ilDateTime | $remove | ) |
remove from list
public
object | ilDateTime |
Definition at line 170 of file class.ilDateList.php.
References IL_CAL_UNIX.
Referenced by ilCalendarRecurrenceCalculator\applyLimits().
ilDateList::removeByDAY | ( | ilDateTime | $remove | ) |
Definition at line 180 of file class.ilDateList.php.
References ilDateTime\_equals(), IL_CAL_DAY, and ilTimeZone\UTC.
ilDateList::rewind | ( | ) |
Iterator Rewind.
Definition at line 61 of file class.ilDateList.php.
ilDateList::sort | ( | ) |
Sort list.
public
Definition at line 198 of file class.ilDateList.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYSETPOSRules(), and ilCalendarRecurrenceCalculator\applyLimits().
ilDateList::valid | ( | ) |
Iterator valid.
Definition at line 97 of file class.ilDateList.php.
References current().
|
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().