[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 142 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PrefixLines:: (5 méthodes):
read()
setPrefix()
getPrefix()
chain()
_initialize()
Classe: PrefixLines - X-Ref
Attaches a prefix to every line.read($len = null) X-Ref |
Adds a prefix to each line of input stream and returns resulting stream. return: mixed buffer, -1 on EOF |
setPrefix($prefix) X-Ref |
Sets the prefix to add at the start of each input line. param: string $prefix The prefix to add at the start of each input line. |
getPrefix() X-Ref |
Returns the prefix which will be added at the start of each input line. return: string The prefix which will be added at the start of each input line |
chain(Reader $reader) X-Ref |
Creates a new PrefixLines filter 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 |
Initializes the prefix if it is available from the parameters. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |