Свойство | Тип | Описание | |
---|---|---|---|
$type | string | The component type of this class. |
Свойство | Тип | Описание | |
---|---|---|---|
$_busyPeriods | array | TODO | |
$_extraParams | array | TODO |
Метод | Описание | |
---|---|---|
addBusyPeriod ( string $type, integer $start, integer $end = null, integer $duration = null, array $extra = [] ) | Adds a busy period to the info. | |
exportvCalendar ( ) : string | Returns the component exported as string. | |
getBusyPeriods ( ) : array | Returns the busy periods. | |
getEmail ( ) : string | Returns the email address for this object. | |
getEnd ( ) : integer | Returns the timestamp of the end of the time period this free busy information covers. | |
getExtraParams ( ) : array | Returns any additional freebusy parameters. | |
getFreePeriods ( integer $startStamp, integer $endStamp ) : array | Returns all the free periods of time in a given period. | |
getName ( ) : string | Returns a display name for this object. | |
getStart ( ) : integer | Returns the timestamp of the start of the time period this free busy information covers. | |
merge ( Horde_Icalendar_Vfreebusy $freebusy, boolean $simplify = true ) | Merges the busy periods of another Horde_Icalendar_Vfreebusy object into this one. | |
parsevCalendar ( string $data, $type = null, $charset = null ) | Parses a string containing vFreebusy data. | |
simplify ( ) | Removes all overlaps and simplifies the busy periods array as much as possible. |
Метод | Описание | |
---|---|---|
_simplify ( $busyPeriods, array $extraParams = [] ) : array | TODO |
public addBusyPeriod ( string $type, integer $start, integer $end = null, integer $duration = null, array $extra = [] ) | ||
$type | string | The type of the period. Either 'FREE' or 'BUSY'; only 'BUSY' supported at the moment. |
$start | integer | The start timestamp of the period. |
$end | integer | The end timestamp of the period. |
$duration | integer | The duration of the period. If specified, the $end parameter will be ignored. |
$extra | array | Additional parameters for this busy period. |
public exportvCalendar ( ) : string | ||
Результат | string | The exported vFreeBusy information according to the iCalendar format specification. |
public getBusyPeriods ( ) : array | ||
Результат | array | All busy periods. |
public getExtraParams ( ) : array | ||
Результат | array | Additional parameters of the freebusy periods. |
public parsevCalendar ( string $data, $type = null, $charset = null ) | ||
$data | string | The data to parse. |
$type | TODO | |
$charset | TODO |
public simplify ( ) |