Class Kronolith_Resource_Group
Kronolith_Resource implementation to represent a group of similar resources.
Copyright 2009-2012 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.
-
Kronolith_Resource_Base
-
Kronolith_Resource_Group
Methods summary
public
Kronolith_Resource
|
#
__construct( mixed $params )
Const'r
Parameters
Returns
Overrides
|
public
mixed
|
#
get( string $property )
Override the get method to see if we have a selected resource. If so,
return the resource's property value, otherwise, return the group's
property value.
Override the get method to see if we have a selected resource. If so,
return the resource's property value, otherwise, return the group's
property value.
Parameters
- $property
- The property to get.
Returns
mixed The requested property's value.
Overrides
|
public
mixed
|
#
getId( )
Obtain the resource's internal identifier.
Obtain the resource's internal identifier.
Returns
mixed The id.
Overrides
|
public
boolean
|
#
isFree( mixed $event )
Determine if the resource is free during the time period for the
supplied event.
Determine if the resource is free during the time period for the
supplied event.
Parameters
- $event
- <p>Either a Kronolith_Event object or an array
containing start and end times.</p>
Returns
boolean
Throws
|
public
|
#
addEvent( mixed $event )
Adds $event to an available member resource's calendar.
Adds $event to an available member resource's calendar.
Parameters
|
public
unknown_type
|
#
removeEvent( mixed $event )
Remove this event from resource's calendar
Remove this event from resource's calendar
Parameters
Returns
unknown_type
|
public
unknown_type
|
#
getFreeBusy( mixed $startstamp = null, mixed $endstamp = null, mixed $asObject = false )
Obtain the freebusy information for this resource.
Obtain the freebusy information for this resource.
Returns
unknown_type
|
public
unknown_type
|
#
setId( integer $id )
Sets the current resource's id. Must not be an existing resource.
Sets the current resource's id. Must not be an existing resource.
Parameters
- $id
- The id for this resource
Returns
unknown_type
|
public
unknown_type
|
#
getResponseType( )
Group resources only make sense for RESPONSETYPE_AUTO
Group resources only make sense for RESPONSETYPE_AUTO
Returns
unknown_type
See
lib/Resource/Kronolith_Resource_Base#getResponseType()
|