PHP 클래스 Horde_Block_Account_Ldap, 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])
상속: extends Horde_Block_Account_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_information array User information hash.
$_ldap Horde_Ldap Pointer to the LDAP connection.

공개 메소드들

메소드 설명
__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.
getShell ( ) : string Returns the user's default shell.

보호된 메소드들

메소드 설명
_convertWinTimeToUnix ( integer $dateLargeInt ) : integer Code from 'brudinie at yahoo dot co dot uk' at http://nl3.php.net/ldap/
_getAccount ( ) : Horde_Ldap_Entry Returns the user account from the LDAP source.
_getMaxPasswd ( ) : integer | boolean Returns the win32 AD epoch number of days the password may be unchanged.

메소드 상세

__construct() 공개 메소드

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

_convertWinTimeToUnix() 보호된 메소드

Code from 'brudinie at yahoo dot co dot uk' at http://nl3.php.net/ldap/
protected _convertWinTimeToUnix ( integer $dateLargeInt ) : integer
$dateLargeInt integer The win32 active directory epoch time.
리턴 integer A unix timestamp.

_getAccount() 보호된 메소드

Returns the user account from the LDAP source.
protected _getAccount ( ) : Horde_Ldap_Entry
리턴 Horde_Ldap_Entry An entry with complete account details.

_getMaxPasswd() 보호된 메소드

Returns the win32 AD epoch number of days the password may be unchanged.
protected _getMaxPasswd ( ) : integer | boolean
리턴 integer | boolean Number of days or false if no limit.

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.

getShell() 공개 메소드

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

프로퍼티 상세

$_information 보호되어 있는 프로퍼티

User information hash.
protected array $_information
리턴 array

$_ldap 보호되어 있는 프로퍼티

Pointer to the LDAP connection.
protected Horde_Ldap $_ldap
리턴 Horde_Ldap