[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/quickstart/protected/index/Zend/Search/Lucene/Storage/Directory/ -> Filesystem.php (sommaire)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)
License: http://www.zend.com/license/framework/1_0.txt Zend Framework License version 1.0
Poids: 269 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Zend_Search_Lucene_Storage_Directory_Filesystem:: (12 méthodes):
  mkdirs()
  __construct()
  close()
  fileList()
  createFile()
  deleteFile()
  fileExists()
  fileLength()
  fileModified()
  renameFile()
  touchFile()
  getFileObject()


Classe: 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)   X-Ref
Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory.

param: string $filename
return: Zend_Search_Lucene_Storage_File



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7