Property | Type | Description | |
---|---|---|---|
$config | Config class. | ||
$fileAccessMode | array | File access mode. | |
$name | string | Database name. |
Method | Description | |
---|---|---|
__construct ( string $name, |
Constructor. | |
closeFile ( SplFileObject &$file ) | Close the database file. | |
getConfig ( ) : |
Get the config. | |
getName ( ) : string | Get the database name. | |
getPath ( ) : string | Get the path to the database file. | |
openFile ( integer $mode ) : SplFileObject | Open the database file. | |
openTempFile ( ) : SplTempFileObject | Open a temporary file. | |
setConfig ( |
Set the config. | |
setName ( string $name ) | Set the database name. |
public __construct ( string $name, |
||
$name | string | |
$config |
public closeFile ( SplFileObject &$file ) | ||
$file | SplFileObject |
public openTempFile ( ) : SplTempFileObject | ||
return | SplTempFileObject |