[ 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 |
BaseFilterReader:: (9 méthodes):
__construct()
getInitialized()
setInitialized()
setProject()
getProject()
read()
readLine()
eof()
log()
Classe: BaseFilterReader - X-Ref
Base class for core filter readers.__construct($in = null) X-Ref |
Constructor used by Phing's introspection mechanism. The original filter reader is only used for chaining purposes, never for filtering purposes (and indeed it would be useless for filtering purposes, as it has no real data to filter). ChainedReaderHelper uses this placeholder instance to create a chain of real filters. param: Reader $in |
getInitialized() X-Ref |
Returns the initialized status. return: boolean whether or not the filter is initialized |
setInitialized($initialized) X-Ref |
Sets the initialized status. param: boolean $initialized Whether or not the filter is initialized. |
setProject(Project $project) X-Ref |
Sets the project to work with. param: object $project The project this filter is part of. |
getProject() X-Ref |
Returns the project this filter is part of. return: object The project this filter is part of |
read($len = null) X-Ref |
Reads characters. param: off Offset at which to start storing characters. param: len Maximum number of characters to read. return: Characters read, or -1 if the end of the stream |
readLine() X-Ref |
Reads a line of text ending with '\n' (or until the end of the stream). The returned String retains the '\n'. return: the line read, or <code>null</code> if the end of the |
eof() X-Ref |
Returns whether the end of file has been reached with input stream. return: boolean |
log($msg, $level = PROJECT_MSG_INFO) X-Ref |
Convenience method to support logging in filters. param: string $msg Message to log. param: int $level Priority level. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |