Свойство | Тип | Описание | |
---|---|---|---|
$allDay | boolean | True if we're iterating an all-day event. | |
$counter | integer | Internal event counter | |
$currentDate | DateTime | Where we are currently in the iteration process | |
$eventDuration | We use this to calculate the DTEND for subsequent events. | ||
$exceptions | array | A list of recurrence-id's that are either part of EXDATE, or are overridden. | |
$masterEvent | VEVENT | A reference to the main (master) event. | |
$nextDate | DateTime | Sometimes we need to temporary store the next date, because an overridden event came before. | |
$overriddenEvents | array | List of overridden events. | |
$overriddenEventsIndex | array | Key is timestamp, value is the index of the item in the $overriddenEvent property. | |
$recurIterator | Sabre\VObject\Recur\RRuleIterator | RRULE parser | |
$startDate | DateTime | The very start of the iteration process. | |
$timeZone | DateTimeZone | Reference timeZone for floating dates and times. |
Метод | Описание | |
---|---|---|
__construct ( Sabre\VObject\Component | array $input, string | null $uid = null, DateTimeZone $timeZone = null ) | Creates the iterator | |
current ( ) : DateTime | Returns the date for the current position of the iterator. | |
fastForward ( DateTime $dateTime ) | Quickly jump to a date in the future. | |
getDtEnd ( ) : DateTime | This method returns the end date for the current iteration of the event. | |
getDtStart ( ) : DateTime | This method returns the start date for the current iteration of the event. | |
getEventObject ( ) : Sabre\VObject\Component\VEvent | Returns a VEVENT for the current iterations of the event. | |
isInfinite ( ) : boolean | Returns true if this recurring event never ends. | |
key ( ) : integer | Returns the current position of the iterator. | |
next ( ) : void | Advances the iterator with one step. | |
rewind ( ) | Sets the iterator back to the starting point. | |
valid ( ) : boolean | This is called after next, to see if the iterator is still at a valid position, or if it's at the end. |
public current ( ) : DateTime | ||
Результат | DateTime |
public fastForward ( DateTime $dateTime ) | ||
$dateTime | DateTime |
public getDtEnd ( ) : DateTime | ||
Результат | DateTime |
public getDtStart ( ) : DateTime | ||
Результат | DateTime |
public getEventObject ( ) : Sabre\VObject\Component\VEvent | ||
Результат | Sabre\VObject\Component\VEvent |
public isInfinite ( ) : boolean | ||
Результат | boolean |
protected bool $allDay | ||
Результат | boolean |
protected DateTime $currentDate | ||
Результат | DateTime |
protected $eventDuration |
protected array $exceptions | ||
Результат | array |
protected VEVENT $masterEvent | ||
Результат | VEVENT |
protected DateTime $nextDate | ||
Результат | DateTime |
protected array $overriddenEvents | ||
Результат | array |
protected array $overriddenEventsIndex | ||
Результат | array |
protected RRuleIterator,Sabre\VObject\Recur $recurIterator | ||
Результат | Sabre\VObject\Recur\RRuleIterator |
protected DateTime $startDate | ||
Результат | DateTime |