PHP Class Horde_Block_Account_Base, horde

Copyright 2001-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL-2). If you did not receive this file, see http://www.horde.org/licenses/lgpl.
Author: Eric Jon Rostetter ([email protected])
Author: Jan Schneider ([email protected])
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_params array Hash containing connection parameters.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
checkPasswordStatus ( ) : string Returns the status of the current password.
getFullname ( ) : string Returns the user's full name.
getHome ( ) : string Returns the user's home (login) directory.
getPasswordChange ( ) : string Returns the date of the user's last password change.
getQuota ( ) : array Returns the user's quota if available.
getShell ( ) : string Returns the user's default shell.
getUsername ( ) : string Returns the username.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Hash containing connection parameters.

checkPasswordStatus() public method

Returns the status of the current password.
public checkPasswordStatus ( ) : string
return string A string with a warning message if the password is about to expire.

getFullname() public method

Returns the user's full name.
public getFullname ( ) : string
return string The user's full name.

getHome() public method

Returns the user's home (login) directory.
public getHome ( ) : string
return string The user's directory.

getPasswordChange() public method

Returns the date of the user's last password change.
public getPasswordChange ( ) : string
return string Date string.

getQuota() public method

Returns the user's quota if available.
public getQuota ( ) : array
return array A quota array, elements are used bytes and limit bytes.

getShell() public method

Returns the user's default shell.
public getShell ( ) : string
return string The user's shell.

getUsername() public method

Returns the username.
public getUsername ( ) : string
return string The lowercased username.

Property Details

$_params protected property

Hash containing connection parameters.
protected array $_params
return array