53 $this->list_item =
array();
63 reset($this->list_item);
72 return current($this->list_item);
81 return key($this->list_item);
90 return next($this->list_item);
99 return $this->
current() !==
false;
109 public function get()
111 return $this->list_item ? $this->list_item :
array();
124 foreach($this->
get() as $item)
140 public function add($date)
157 foreach($other_list->
get() as $new_date)
159 $this->
add($new_date);
173 if(isset($this->list_item[$unix_remove]))
175 unset($this->list_item[$unix_remove]);
182 foreach($this->list_item as $key => $dt)
186 unset($this->list_item[$key]);
200 return ksort($this->list_item,SORT_NUMERIC);
212 foreach($this->
get() as $date)
__construct($a_type)
Constructor.
merge(ilDateList $other_list)
Merge two lists.
removeByDAY(ilDateTime $remove)
Add rich text string
The name of the decorator.
add($date)
add a date to the date list
current()
Iterator Current.
static _equals(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
Check if two date are equal.
getAtPosition($a_pos)
get item at specific position
Create styles array
The data for the language used.