PHP Class Horde_Kolab_FreeBusy_User_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.
Author: Steffen Hansen ([email protected])
Author: Gunnar Wrobel ([email protected])
Inheritance: implements Horde_Kolab_FreeBusy_User
显示文件 Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Kolab_FreeBusy_User $user, Horde_Controller_Request $request, mixed $logger ) Constructor.
getDomain ( ) : string Return the primary domain of the user accessing the system.
getGroups ( ) : array Return the groups this user is member of.
getPassword ( ) : string Return the password of the user accessing the system.
getPrimaryId ( ) : string Return the primary id of the user accessing the system.
isAuthenticated ( ) : boolean Finds out if a set of login credentials are valid.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_FreeBusy_User $user, Horde_Controller_Request $request, mixed $logger )
$user Horde_Kolab_FreeBusy_User The decorated user.
$request Horde_Controller_Request The request.
$logger mixed The log handler. The class must at least provide the notice() and err() methods.

getDomain() public method

Return the primary domain of the user accessing the system.
public getDomain ( ) : string
return string The primary domain.

getGroups() public method

Return the groups this user is member of.
public getGroups ( ) : array
return array The groups for this user.

getPassword() public method

Return the password of the user accessing the system.
public getPassword ( ) : string
return string The password.

getPrimaryId() public method

Return the primary id of the user accessing the system.
public getPrimaryId ( ) : string
return string The primary id.

isAuthenticated() public method

Finds out if a set of login credentials are valid.
public isAuthenticated ( ) : boolean
return boolean Whether or not the password was correct.