PHP Класс 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.
Автор: Peter Paul Elfferich ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Block_Account_Base
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
_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.

Описание методов

__construct() публичный Метод

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

_get() защищенный Метод

Returns some user detail.
protected _get ( string $what ) : string
$what string Which information to return.
Результат string The user's detail.

_getAccount() защищенный Метод

Returns the user account.
protected _getAccount ( ) : array
Результат array A hash with complete account details.

_parseAccount() защищенный Метод

Returns a hash with parsed account information.
protected _parseAccount ( array $output ) : array
$output array Array of finger output strings
Результат array A hash with account details parsed from output

getFullname() публичный Метод

Returns the user's full name.
public getFullname ( ) : string
Результат string The user's full name.

getHome() публичный Метод

Returns the user's home (login) directory.
public getHome ( ) : string
Результат string The user's directory.

getShell() публичный Метод

Returns the user's default shell.
public getShell ( ) : string
Результат string The user's shell.