PHP Class Horde_Kolab_FreeBusy_Driver_Freebusy_Kolab, 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.
Author: Steffen Hansen ([email protected])
Author: Gunnar Wrobel ([email protected])
Inheritance: extends Horde_Kolab_FreeBusy_Driver_Freebusy_Base
Mostra file Open project: horde/horde

Public Methods

Method Description
_getImapFolder ( ) : string Calculate the correct IMAP folder name to access based on the combination of user and owner.
fetch ( $params = [] ) : array Fetch the free/busy data for a user.

Protected Methods

Method Description
handleCallee ( $callee ) : boolean | PEAR_Error Parse the owner value.
handleCalleePart ( $callee_part ) : boolean | PEAR_Error Parse the requested folder for the owner of that folder.

Private Methods

Method Description
_process ( ) : boolean | PEAR_Error Process both the user accessing the page as well as the owner of the requested free/busy information.

Method Details

_getImapFolder() public method

Calculate the correct IMAP folder name to access based on the combination of user and owner.
public _getImapFolder ( ) : string
return string The IMAP folder we should access.

fetch() public method

Fetch the free/busy data for a user.
public fetch ( $params = [] ) : array
return array The free/busy data.

handleCallee() protected method

Parse the owner value.
protected handleCallee ( $callee ) : boolean | PEAR_Error
return boolean | PEAR_Error True if successful.

handleCalleePart() protected method

Parse the requested folder for the owner of that folder.
protected handleCalleePart ( $callee_part ) : boolean | PEAR_Error
return boolean | PEAR_Error True if successful.