[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 179 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
FileReader:: (10 méthodes):
__construct()
skip()
read()
mark()
reset()
close()
open()
eof()
readInto()
getResource()
Classe: FileReader - X-Ref
Convenience class for reading files. The constructor of this__construct($file, $exclusive = false) X-Ref |
Pas de description |
skip($n) X-Ref |
Pas de description |
read($len = null) X-Ref |
Read data from file. param: int $len Num chars to read. return: string chars read or -1 if eof. |
mark($n = null) X-Ref |
Pas de description |
reset() X-Ref |
Pas de description |
close() X-Ref |
Pas de description |
open() X-Ref |
Pas de description |
eof() X-Ref |
Whether eof has been reached with stream. return: boolean |
readInto(&$rBuffer) X-Ref |
Reads a entire file and stores the data in the variable passed by reference. author: Charlie Killian, charlie@tizac.com param: string $file String. Path and/or name of file to read. param: object &$rBuffer Reference. Variable of where to put contents. return: TRUE on success. Err object on failure. |
getResource() X-Ref |
Returns path to file we are reading. return: string |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |