| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 258 lignes (8 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
LineContains:: (7 méthodes):
read()
readChar()
createContains()
setContains()
getContains()
chain()
_initialize()
Classe: LineContains - X-Ref
Filter which includes only those lines that contain all the user-specified| read($len = null) X-Ref |
| Returns all lines in a buffer that contain specified strings. return: mixed buffer, -1 on EOF |
| readChar() X-Ref |
| [Deprecated. For reference only, used to be read() method.] Returns the next character in the filtered stream, only including lines from the original stream which contain all of the specified words. return: the next character in the resulting stream, or -1 |
| createContains() X-Ref |
| Adds a <code><contains></code> nested element. return: Contains The <code>contains</code> element added. |
| setContains($contains) X-Ref |
| Sets the array of words which must be contained within a line read from the original stream in order for it to match this filter. param: array $contains An array of words which must be contained |
| getContains() X-Ref |
| Returns the vector of words which must be contained within a line read from the original stream in order for it to match this filter. return: array The array of words which must be contained within a line read |
| chain(Reader $reader) X-Ref |
| Creates a new LineContains 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 |
| Parses the parameters to add user-defined contains strings. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |