PHP Class Horde_Kolab_FreeBusy_Resource_Event_Decorator_Log, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_FreeBusy_Resource_Decorator_Log, implements Horde_Kolab_FreeBusy_Resource_Event
Show file Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Kolab_FreeBusy_Resource_Event $resource, mixed $logger ) Constructor.
listEvents ( Horde_Date $startDate, Horde_Date $endDate ) : array Lists all events in the given time range. *

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_FreeBusy_Resource_Event $resource, mixed $logger )
$resource Horde_Kolab_FreeBusy_Resource_Event The decorated resource.
$logger mixed The log handler. The class must at least provide the debug() method.

listEvents() public method

Lists all events in the given time range. *
public listEvents ( Horde_Date $startDate, Horde_Date $endDate ) : array
$startDate Horde_Date Start of range date object.
$endDate Horde_Date End of range data object.
return array Events in the given time range.