Located in /Zend/Search/Lucene/Storage/File.php (line 35)
Class | Description |
---|---|
![]() |
Flush output.
Returns true on success or false on failure.
Lock file
Lock type may be a LOCK_SH (shared lock) or a LOCK_EX (exclusive lock)
Reads binary data from the current position in the file and advances the file pointer.
Reads a byte from the current position in the file and advances the file pointer.
Read num bytes from the current position in the file and advances the file pointer.
Reads an integer from the current position in the file and advances the file pointer.
Returns a long integer from the current position in the file and advances the file pointer.
Reads a string from the current position in the file and advances the file pointer.
Returns a variable-length integer from the current position in the file and advances the file pointer.
Sets the file position indicator and advances the file pointer.
The new position, measured in bytes from the beginning of the file, is obtained by adding offset to the position specified by whence, whose values are defined as follows: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset. (To move to a position before the end-of-file, you need to pass a negative value in offset.) Upon success, returns 0; otherwise, returns -1
Get file position.
Unlock file
Writes a byte to the end of the file.
Writes num bytes of data (all, if $num===null) to the end of the string.
Writes an integer to the end of file.
Writes long integer to the end of file
Writes a string to the end of file.
Writes a variable-length integer to the end of file.
Reads $length number of bytes at the current position in the file and advances the file pointer.
Writes $length number of bytes (all, if $length===null) to the end of the file.
Documentation generated on Thu, 18 Jan 2007 09:53:28 -0800 by phpDocumentor 1.3.1