PHP Class Horde_Block_Account_Finger, 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: Peter Paul Elfferich ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Block_Account_Base
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Constructor.
getFullname ( ) : string Returns the user's full name.
getHome ( ) : string Returns the user's home (login) directory.
getShell ( ) : string Returns the user's default shell.

Méthodes protégées

Méthode Description
_get ( string $what ) : string Returns some user detail.
_getAccount ( ) : array Returns the user account.
_parseAccount ( array $output ) : array Returns a hash with parsed account information.

Method Details

__construct() public méthode

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

_get() protected méthode

Returns some user detail.
protected _get ( string $what ) : string
$what string Which information to return.
Résultat string The user's detail.

_getAccount() protected méthode

Returns the user account.
protected _getAccount ( ) : array
Résultat array A hash with complete account details.

_parseAccount() protected méthode

Returns a hash with parsed account information.
protected _parseAccount ( array $output ) : array
$output array Array of finger output strings
Résultat array A hash with account details parsed from output

getFullname() public méthode

Returns the user's full name.
public getFullname ( ) : string
Résultat string The user's full name.

getHome() public méthode

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

getShell() public méthode

Returns the user's default shell.
public getShell ( ) : string
Résultat string The user's shell.