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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode 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?

Méthodes protégées

Méthode Description
fetchUserDbUser ( ) : null Fetch the user data from the user db.

Method Details

__construct() public méthode

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 méthode

Fetch the user data from the user db.
protected fetchUserDbUser ( ) : null
Résultat null

getOwner() public méthode

Return the original owner parameter.
public getOwner ( ) : string
Résultat string The original owner parameter.

isKnown() public méthode

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