Zend Framework
1.12
|
Public Member Functions | |
close () | |
Closes the store. | |
fileList () | |
Returns an array of strings, one for each file in the directory. | |
createFile ($filename) | |
Creates a new, empty file in the directory with the given $filename. | |
deleteFile ($filename) | |
Removes an existing $filename in the directory. | |
purgeFile ($filename) | |
Purge file if it's cached by directory object. | |
fileExists ($filename) | |
Returns true if a file with the given $filename exists. | |
fileLength ($filename) | |
Returns the length of a $filename in the directory. | |
fileModified ($filename) | |
Returns the UNIX timestamp $filename was last modified. | |
renameFile ($from, $to) | |
Renames an existing file in the directory. | |
touchFile ($filename) | |
Sets the modified time of $filename to now. | |
getFileObject ($filename, $shareHandler=true) | |
Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory. | |
|
abstract |
Closes the store.
|
abstract |
Creates a new, empty file in the directory with the given $filename.
string | $filename |
|
abstract |
Removes an existing $filename in the directory.
string | $filename |
|
abstract |
Returns true if a file with the given $filename exists.
string | $filename |
|
abstract |
Returns the length of a $filename in the directory.
string | $filename |
|
abstract |
Returns an array of strings, one for each file in the directory.
|
abstract |
Returns the UNIX timestamp $filename was last modified.
string | $filename |
|
abstract |
Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory.
If $shareHandler option is true, then file handler can be shared between File Object requests. It speed-ups performance, but makes problems with file position. Shared handler are good for short atomic requests. Non-shared handlers are useful for stream file reading (especial for compound files).
string | $filename | |
boolean | $shareHandler |
|
abstract |
Purge file if it's cached by directory object.
Method is used to prevent 'too many open files' error
string | $filename |
|
abstract |
Renames an existing file in the directory.
string | $from | |
string | $to |
|
abstract |
Sets the modified time of $filename to now.
string | $filename |