| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| File Size: | 305 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Search_Lucene_Storage_Directory_Filesystem:: (12 methods):
mkdirs()
__construct()
close()
fileList()
createFile()
deleteFile()
fileExists()
fileLength()
fileModified()
renameFile()
touchFile()
getFileObject()
Class: Zend_Search_Lucene_Storage_Directory_Filesystem - X-Ref
FileSystem implementation of Directory abstraction.| mkdirs($dir, $mode = 0777, $recursive = true) X-Ref |
| Utility function to recursive directory creation param: string $dir param: integer $mode param: boolean $recursive return: boolean |
| __construct($path) X-Ref |
| Object constructor Checks if $path is a directory or tries to create it. param: string $path |
| close() X-Ref |
| Closes the store. return: void |
| fileList() X-Ref |
| Returns an array of strings, one for each file in the directory. return: array |
| createFile($filename) X-Ref |
| Creates a new, empty file in the directory with the given $filename. param: string $filename return: Zend_Search_Lucene_Storage_File |
| deleteFile($filename) X-Ref |
| Removes an existing $filename in the directory. param: string $filename return: void |
| fileExists($filename) X-Ref |
| Returns true if a file with the given $filename exists. param: string $filename return: boolean |
| fileLength($filename) X-Ref |
| Returns the length of a $filename in the directory. param: string $filename return: integer |
| fileModified($filename) X-Ref |
| Returns the UNIX timestamp $filename was last modified. param: string $filename return: integer |
| renameFile($from, $to) X-Ref |
| Renames an existing file in the directory. param: string $from param: string $to return: void |
| touchFile($filename) X-Ref |
| Sets the modified time of $filename to now. param: string $filename return: void |
| getFileObject($filename, $shareHandler = true) X-Ref |
| 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). param: string $filename param: boolean $shareHandler return: Zend_Search_Lucene_Storage_File |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |