PHP 클래스 Kronolith_Resource_Single, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
저자: Michael J Rubinsky ([email protected])
상속: extends Kronolith_Resource_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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.

메소드 상세

addEvent() 공개 메소드

Adds $event to this resource's calendar or updates the current entry of the event in the calendar.
public addEvent ( Kronolith_Event $event )
$event Kronolith_Event The event to add to the resource. Note this is the base driver event.

get() 공개 메소드

public get ( string $property ) : mixed
$property string The property to get
리턴 mixed The value of $property

getFreeBusy() 공개 메소드

Obtain the freebusy information for this resource.
public getFreeBusy ( $startstamp = null, $endstamp = null, $asObject = false, $json = false ) : mixed
리턴 mixed string|Horde_Icalendar_Vfreebusy The Freebusy object or the iCalendar text.

getResponseType() 공개 메소드

Get ResponseType for this resource.
public getResponseType ( ) : integer
리턴 integer The response type for this resource. A Kronolith_Resource::RESPONSE_TYPE_* constant.

isFree() 공개 메소드

Determine if the resource is free during the time period for the supplied event.
public isFree ( Kronolith_Event $event ) : boolean
$event Kronolith_Event The event to check availability for.
리턴 boolean

removeEvent() 공개 메소드

Remove this event from resource's calendar
public removeEvent ( Kronolith_Event $event )
$event Kronolith_Event The event to remove.

setId() 공개 메소드

Sets the current resource's id. Must not be an existing resource.
public setId ( integer $id )
$id integer The id for this resource

프로퍼티 상세

$_type 보호되어 있는 프로퍼티

protected $_type