PHP Класс 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.
Автор: Eric Jon Rostetter ([email protected])
Автор: Jan Schneider ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_params array Hash containing connection parameters.

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

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

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

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

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

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

Returns the status of the current password.
public checkPasswordStatus ( ) : string
Результат string A string with a warning message if the password is about to expire.

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.

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

Returns the date of the user's last password change.
public getPasswordChange ( ) : string
Результат string Date string.

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

Returns the user's quota if available.
public getQuota ( ) : array
Результат array A quota array, elements are used bytes and limit bytes.

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

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

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

Returns the username.
public getUsername ( ) : string
Результат string The lowercased username.

Описание свойств

$_params защищенное свойство

Hash containing connection parameters.
protected array $_params
Результат array