[ 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/File/ -> 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: 170 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Zend_Search_Lucene_Storage_File_Filesystem:: (7 méthodes):
  __construct()
  seek()
  tell()
  close()
  size()
  _fread()
  _fwrite()


Classe: Zend_Search_Lucene_Storage_File_Filesystem  - X-Ref


__construct($filename, $mode='rb')   X-Ref
Class constructor.  Open the file.

param: string $filename
param: string $mode

seek($offset, $whence=SEEK_SET)   X-Ref
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

param: integer $offset
param: integer $whence
return: integer

tell()   X-Ref
Get file position.

return: integer

close()   X-Ref
Close File object


size()   X-Ref
Get the size of the already opened file

return: integer

_fread($length=1)   X-Ref
Read a $length bytes from the file and advance the file pointer.

param: integer $length
return: string

_fwrite($data, $length=null)   X-Ref
Writes $length number of bytes (all, if $length===null) to the end
of the file.

param: string $data
param: integer $length



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