PHP Class Horde_Kolab_FreeBusy_Resource_Kolab, horde

Copyright 2004-2008 Klarälvdalens Datakonsult AB Copyright 2008-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
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_owner Horde_Kolab_FreeBusy_Owner_Freebusy The folder owner.

Public Methods

Method Description
__construct ( Horde_Kolab_Storage_Folder $folder, Horde_Kolab_FreeBusy_Owner $owner ) Constructor.
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
getData ( ) : Horde_Kolab_Storage_Data Return the data represented by this resource.
getFolder ( ) : Horde_Kolab_Storage_Folder Return the folder represented by this resource.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Storage_Folder $folder, Horde_Kolab_FreeBusy_Owner $owner )
$folder Horde_Kolab_Storage_Folder The storage folder representing this resource.
$owner Horde_Kolab_FreeBusy_Owner The resource owner.

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.

getData() protected method

Return the data represented by this resource.
protected getData ( ) : Horde_Kolab_Storage_Data
return Horde_Kolab_Storage_Data The data.

getFolder() protected method

Return the folder represented by this resource.
protected getFolder ( ) : Horde_Kolab_Storage_Folder
return Horde_Kolab_Storage_Folder The folder.

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.

Property Details

$_owner protected property

The folder owner.
protected Horde_Kolab_FreeBusy_Owner_Freebusy $_owner
return Horde_Kolab_FreeBusy_Owner_Freebusy