PHP Class Horde_Kolab_FreeBusy_Owner_Kolab, horde

Copyright 2010-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_UserDb_User_Kolab, implements Horde_Kolab_FreeBusy_Owner
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
__construct ( string $owner, Horde_Kolab_Server_Composite $db, array $params = [] ) Constructor.
getOwner ( ) : string Return the original owner parameter.
isKnown ( ) : boolean Is the user known in the user database?

Protected Methods

Method Description
fetchUserDbUser ( ) : null Fetch the user data from the user db.

Method Details

__construct() public method

Constructor.
public __construct ( string $owner, Horde_Kolab_Server_Composite $db, array $params = [] )
$owner string The owner name.
$db Horde_Kolab_Server_Composite The connection to the user database.
$params array Additional parameters.
 - user (optional):   A Horde_Kolab_FreeBusy_User object, representing
                      the user currently accessing the system. Will
                      be used to determine the domain of domain-less
                      owners.
 - domain (optional): A domain that should be appended to domain-less
                      owners.

fetchUserDbUser() protected method

Fetch the user data from the user db.
protected fetchUserDbUser ( ) : null
return null

getOwner() public method

Return the original owner parameter.
public getOwner ( ) : string
return string The original owner parameter.

isKnown() public method

Is the user known in the user database?
public isKnown ( ) : boolean
return boolean True if the user data is present.