PHP Класс PHPUnit_Util_Printer, qcodo

Автор: Sebastian Bergmann ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$autoFlush boolean If TRUE, flush output after every write.
$out resource
$outTarget string
$printsHTML boolean

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

Метод Описание
__construct ( mixed $out = NULL ) Constructor.
flush ( ) Flush buffer, optionally tidy up HTML, and close output.
getAutoFlush ( ) : boolean Check auto-flush mode.
incrementalFlush ( ) Performs a safe, incremental flush.
setAutoFlush ( boolean $autoFlush ) Set auto-flushing mode.
write ( string $buffer )

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

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

Constructor.
public __construct ( mixed $out = NULL )
$out mixed

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

Flush buffer, optionally tidy up HTML, and close output.
public flush ( )

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

Check auto-flush mode.
public getAutoFlush ( ) : boolean
Результат boolean

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

Do not confuse this function with the flush() function of this class, since the flush() function may close the file being written to, rendering the current object no longer usable.
public incrementalFlush ( )

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

If set, *incremental* flushes will be done after each write. This should not be confused with the different effects of this class' flush() method.
public setAutoFlush ( boolean $autoFlush )
$autoFlush boolean

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

public write ( string $buffer )
$buffer string

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

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

If TRUE, flush output after every write.
protected bool $autoFlush
Результат boolean

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

protected resource $out
Результат resource

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

protected string $outTarget
Результат string

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

protected bool $printsHTML
Результат boolean