[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/filters/ -> HeadFilter.php (sommaire)

(pas de description)

Poids: 161 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

HeadFilter:: (5 méthodes):
  read()
  setLines()
  getLines()
  chain()
  _initialize()


Classe: HeadFilter  - X-Ref

Reads the first <code>n</code> lines of a stream.
(Default is first 10 lines.)
<p>
Example:
<pre><headfilter lines="3"/></pre>
Or:
<pre><filterreader classname="phing.filters.HeadFilter">
<param name="lines" value="3"/>
</filterreader></pre>

read($len = null)   X-Ref
Returns first n lines of stream.

return: the resulting stream, or -1

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 HeadFilter 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