Abstract Class ZSearchDirectory

Description

Located in /incubator/Zend/Search/Lucene/storage/ZSearchDirectory.php (line 28)


	
			
Direct descendents
Class Description
 class ZSearchFSDirectory FileSystem implementation of Directory abstraction.
Method Summary
 void close ()
 ZSearchFile createFile (string $filename)
 void deleteFile (string $filename)
 boolean fileExists (string $filename)
 integer fileLength (string $filename)
 array fileList ()
 integer fileModified (string $filename)
 ZSearchFile getFileObject (string $filename)
 void renameFile (string $from, string $to)
 void touchFile (string $filename)
Methods
close (line 36)

Closes the store.

  • access: public
  • abstract:
void close ()

Redefined in descendants as:
createFile (line 51)

Creates a new, empty file in the directory with the given $filename.

  • access: public
  • abstract:
ZSearchFile createFile (string $filename)
  • string $filename

Redefined in descendants as:
deleteFile (line 60)

Removes an existing $filename in the directory.

  • access: public
  • abstract:
void deleteFile (string $filename)
  • string $filename

Redefined in descendants as:
fileExists (line 69)

Returns true if a file with the given $filename exists.

  • access: public
  • abstract:
boolean fileExists (string $filename)
  • string $filename

Redefined in descendants as:
fileLength (line 78)

Returns the length of a $filename in the directory.

  • access: public
  • abstract:
integer fileLength (string $filename)
  • string $filename

Redefined in descendants as:
fileList (line 43)

Returns an array of strings, one for each file in the directory.

  • access: public
  • abstract:
array fileList ()

Redefined in descendants as:
fileModified (line 87)

Returns the UNIX timestamp $filename was last modified.

  • access: public
  • abstract:
integer fileModified (string $filename)
  • string $filename

Redefined in descendants as:
getFileObject (line 115)

Returns a ZSearchFile object for a given $filename in the directory.

  • access: public
  • abstract:
ZSearchFile getFileObject (string $filename)
  • string $filename

Redefined in descendants as:
renameFile (line 97)

Renames an existing file in the directory.

  • access: public
  • abstract:
void renameFile (string $from, string $to)
  • string $from
  • string $to

Redefined in descendants as:
touchFile (line 106)

Sets the modified time of $filename to now.

  • access: public
  • abstract:
void touchFile (string $filename)
  • string $filename

Redefined in descendants as:

Documentation generated on Wed, 08 Mar 2006 04:56:35 -0800 by phpDocumentor 1.3.0RC4