메소드 | 설명 | |
---|---|---|
__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. |
public __construct ( array $params = [] ) | ||
$params | array | Hash containing connection parameters. |
protected _getAccount ( ) : array | ||
리턴 | array | A hash with complete account details. |
protected _parseAccount ( array $output ) : array | ||
$output | array | Array of finger output strings |
리턴 | array | A hash with account details parsed from output |
public getFullname ( ) : string | ||
리턴 | string | The user's full name. |