[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 157 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TailFilter:: (5 méthodes):
read()
setLines()
getLines()
chain()
_initialize()
Classe: TailFilter - X-Ref
Reads the last <code>n</code> lines of a stream. (Default is last10 lines.)read($len = null) X-Ref |
Returns the last n lines of a file. param: int $len Num chars to read. return: mixed The filtered buffer or -1 if EOF. |
setLines($lines) X-Ref |
Sets the number of lines to be returned in the filtered stream. param: integer $lines the number of lines to be returned in the filtered stream. |
getLines() X-Ref |
Returns the number of lines to be returned in the filtered stream. return: integer The number of lines to be returned in the filtered stream. |
chain(Reader $reader) X-Ref |
Creates a new TailFilter using the passed in Reader for instantiation. param: object A Reader object providing the underlying stream. return: object A new filter based on this configuration, but filtering |
_initialize() X-Ref |
Scans the parameters list for the "lines" parameter and uses it to set the number of lines to be returned in the filtered stream. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |