Свойство | Тип | Описание | |
---|---|---|---|
$_type |
Метод | Описание | |
---|---|---|
addEvent ( Kronolith_Event $event ) | Adds $event to this resource's calendar or updates the current entry of the event in the calendar. | |
get ( string $property ) : mixed | ||
getFreeBusy ( $startstamp = null, $endstamp = null, $asObject = false, $json = false ) : mixed | Obtain the freebusy information for this resource. | |
getResponseType ( ) : integer | Get ResponseType for this resource. | |
isFree ( Kronolith_Event $event ) : boolean | Determine if the resource is free during the time period for the supplied event. | |
removeEvent ( Kronolith_Event $event ) | Remove this event from resource's calendar | |
setId ( integer $id ) | Sets the current resource's id. Must not be an existing resource. |
Метод | Описание | |
---|---|---|
_copyEvent ( Kronolith_Event $from, Kronolith_Event &$to ) : void | Utility function to copy select event properties from $from to $to in order to add an event to the resource calendar. |
public addEvent ( Kronolith_Event $event ) | ||
$event | Kronolith_Event | The event to add to the resource. Note this is the base driver event. |
public getFreeBusy ( $startstamp = null, $endstamp = null, $asObject = false, $json = false ) : mixed | ||
Результат | mixed | string|Horde_Icalendar_Vfreebusy The Freebusy object or the iCalendar text. |
public getResponseType ( ) : integer | ||
Результат | integer | The response type for this resource. A Kronolith_Resource::RESPONSE_TYPE_* constant. |
public removeEvent ( Kronolith_Event $event ) | ||
$event | Kronolith_Event | The event to remove. |