PHP 클래스 Horde_Token_File, horde
Copyright 1999-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
파일 보기
프로젝트 열기: horde/horde
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$_connected |
boolean |
Boolean indicating whether or not we have an open file descriptor. |
|
$_fd |
resource |
Handle for the open file descriptor. |
|
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
_connect ( ) |
Opens a file descriptor to a new or existing file. |
|
_disconnect ( boolean $error = true ) |
Closes the file descriptor. |
|
메소드 상세
public __construct ( array $params = [] ) |
$params |
array |
Optional parameters:
- token_dir (string): The directory where to keep token files.
DEFAULT: System temporary directory |
Opens a file descriptor to a new or existing file.
Closes the file descriptor.
Delete all expired connection IDs.
프로퍼티 상세
Boolean indicating whether or not we have an open file descriptor.
protected bool $_connected |
리턴 |
boolean |
|
Handle for the open file descriptor.
protected resource $_fd |
리턴 |
resource |
|