PHP 클래스 Hylax_Driver, horde
Copyright 2003-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
__construct ( $params ) |
|
|
factory ( string $driver = null, array $params = null ) : Hylax_Driver |
Attempts to return a concrete Hylax_Driver instance based on $driver. |
|
getFolder ( $folder, $path = null ) |
|
|
singleton ( string $driver = null, array $params = null ) : mixed |
Attempts to return a reference to a concrete Hylax_Driver instance
based on $driver. It will only create a new instance if no
Hylax_Driver instance with the same parameters currently exists. |
|
메소드 상세
Attempts to return a concrete Hylax_Driver instance based on $driver.
public factory ( string $driver = null, array $params = null ) : Hylax_Driver |
$driver |
string |
The type of concrete Hylax_Driver subclass to
return. |
$params |
array |
A hash containing any additional configuration or
connection parameters a subclass might need. |
리턴 |
Hylax_Driver |
The newly created concrete Hylax_Driver
instance, or false on error. |
This should be used if multiple storage sources are required.
This method must be invoked as: $var = &Hylax_Driver::singleton()
public singleton ( string $driver = null, array $params = null ) : mixed |
$driver |
string |
The type of concrete Hylax_Driver subclass to
return. |
$params |
array |
A hash containing any additional configuration or
connection parameters a subclass might need. |
리턴 |
mixed |
The created concrete Hylax_Driver instance, or false on
error. |
프로퍼티 상세