PHP Class Horde_Kolab_FreeBusy_Resource_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: implements Horde_Kolab_FreeBusy_Resource
Mostra file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Kolab_FreeBusy_Resource $resource, mixed $logger ) Constructor.
connect ( ) : null Connect to the resource.
getAcl ( ) : array Fetch the resource ACL.
getAttributeAcl ( ) : array Fetch the access controls on specific attributes of this resource.
getName ( ) : string Return the name of the resource.
getOwner ( ) : Horde_Kolab_FreeBusy_Owner Return the owner of the resource.
getRelevance ( ) : string Return for whom this resource exports relevant data.

Protected Methods

Method Description
getLogger ( )
getResource ( )

Method Details

__construct() public method

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

connect() public method

Connect to the resource.
public connect ( ) : null
return null

getAcl() public method

Fetch the resource ACL.
public getAcl ( ) : array
return array ACL for this resource.

getAttributeAcl() public method

Fetch the access controls on specific attributes of this resource.
public getAttributeAcl ( ) : array
return array Attribute ACL for this resource.

getLogger() protected method

protected getLogger ( )

getName() public method

Return the name of the resource.
public getName ( ) : string
return string The name for the resource.

getOwner() public method

Return the owner of the resource.
public getOwner ( ) : Horde_Kolab_FreeBusy_Owner
return Horde_Kolab_FreeBusy_Owner The resource owner.

getRelevance() public method

Return for whom this resource exports relevant data.
public getRelevance ( ) : string
return string The user type the exported data of this resource is relevant for.

getResource() protected method

protected getResource ( )