PHP Класс BaseFilterReader, symfony-1.4

См. также: FilterReader
Наследование: extends FilterReader
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$initialized Have the parameters passed been interpreted?
$project The Phing project this filter is part of.

Открытые методы

Метод Описание
__construct ( Reader $in = null ) Constructor used by Phing's introspection mechanism.
eof ( ) : boolean Returns whether the end of file has been reached with input stream.
getInitialized ( ) : boolean Returns the initialized status.
getProject ( ) : object Returns the project this filter is part of.
log ( string $msg, integer $level = Project::MSG_INFO ) Convenience method to support logging in filters.
read ( $len = null ) : Characters Reads characters.
readLine ( ) : the Reads a line of text ending with '\n' (or until the end of the stream).
setInitialized ( boolean $initialized ) Sets the initialized status.
setProject ( Project $project ) Sets the project to work with.

Описание методов

__construct() публичный Метод

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.
public __construct ( Reader $in = null )
$in Reader

eof() публичный Метод

Returns whether the end of file has been reached with input stream.
public eof ( ) : boolean
Результат boolean

getInitialized() публичный Метод

Returns the initialized status.
public getInitialized ( ) : boolean
Результат boolean whether or not the filter is initialized

getProject() публичный Метод

Returns the project this filter is part of.
public getProject ( ) : object
Результат object The project this filter is part of

log() публичный Метод

Convenience method to support logging in filters.
public log ( string $msg, integer $level = Project::MSG_INFO )
$msg string Message to log.
$level integer Priority level.

read() публичный Метод

Reads characters.
public read ( $len = null ) : Characters
Результат Characters read, or -1 if the end of the stream has been reached

readLine() публичный Метод

The returned String retains the '\n'.
public readLine ( ) : the
Результат the line read, or null if the end of the stream has already been reached

setInitialized() публичный Метод

Sets the initialized status.
public setInitialized ( boolean $initialized )
$initialized boolean Whether or not the filter is initialized.

setProject() публичный Метод

Sets the project to work with.
public setProject ( Project $project )
$project Project The project this filter is part of. Should not be null.

Описание свойств

$initialized защищенное свойство

Have the parameters passed been interpreted?
protected $initialized

$project защищенное свойство

The Phing project this filter is part of.
protected $project