MessageStreamer Class Reference

Public Member Functions

 __construct ($template=null)
 setExtraRenderBytes ($extraRenderBytes)
 add ($message)
 addIgnoringTemplate ($message)
 setEmptyTemplate ()

Protected Attributes

 $template = "{message}"
 $extraRenderBytes = 1024

Detailed Description

Helper class for streaming output to the browser prior to the completion of a page request.

Definition at line 40 of file MessageStreamer.php.

Member Function Documentation

add ( message  ) 

Add a message to be streamed.

string $message

Definition at line 74 of file MessageStreamer.php.

addIgnoringTemplate ( message  ) 

Given a message, output the message to the message stream ignoring the template. Used to output a . for example if you want a stream of dots to indicate progress.

string $message

Definition at line 87 of file MessageStreamer.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 15 07:11:01 2019