PHP Class PHPUnit_Util_Printer, qcodo

Author: Sebastian Bergmann ([email protected])
显示文件 Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$autoFlush boolean If TRUE, flush output after every write.
$out resource
$outTarget string
$printsHTML boolean

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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

flush() public method

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

getAutoFlush() public method

Check auto-flush mode.
public getAutoFlush ( ) : boolean
return boolean

incrementalFlush() public method

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() public method

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 method

public write ( string $buffer )
$buffer string

Property Details

$autoFlush protected_oe property

If TRUE, flush output after every write.
protected bool $autoFlush
return boolean

$out protected_oe property

protected resource $out
return resource

$outTarget protected_oe property

protected string $outTarget
return string

$printsHTML protected_oe property

protected bool $printsHTML
return boolean