Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_ProgressBar_Adapter_JsPull Class Reference

Public Member Functions

 setExitAfterSend ($exitAfterSend)
 Set wether to exit after json data send or not.
 
 notify ($current, $max, $percent, $timeTaken, $timeRemaining, $text)
 Defined by Zend_ProgressBar_Adapter_Interface.
 
 finish ()
 Defined by Zend_ProgressBar_Adapter_Interface.
 
- Public Member Functions inherited from Zend_ProgressBar_Adapter
 __construct ($options=null)
 Create a new adapter.
 
 setConfig (Zend_Config $config)
 Set options via a Zend_Config instance.
 
 setOptions (array $options)
 Set options via an array.
 
 notify ($current, $max, $percent, $timeTaken, $timeRemaining, $text)
 Notify the adapter about an update.
 
 finish ()
 Called when the progress is explicitly finished.
 

Protected Member Functions

 _outputData ($data)
 Outputs given data the user agent.
 

Protected Attributes

 $_exitAfterSend = true
 
- Protected Attributes inherited from Zend_ProgressBar_Adapter
 $_skipOptions
 

Member Function Documentation

_outputData (   $data)
protected

Outputs given data the user agent.

This split-off is required for unit-testing.

Parameters
string$data
Returns
void
finish ( )

Defined by Zend_ProgressBar_Adapter_Interface.

Returns
void
notify (   $current,
  $max,
  $percent,
  $timeTaken,
  $timeRemaining,
  $text 
)

Defined by Zend_ProgressBar_Adapter_Interface.

Parameters
float$currentCurrent progress value
float$maxMax progress value
float$percentCurrent percent value
integer$timeTakenTaken time in seconds
integer$timeRemainingRemaining time in seconds
string$textStatus text
Returns
void
setExitAfterSend (   $exitAfterSend)

Set wether to exit after json data send or not.

Parameters
boolean$exitAfterSend
Returns
Zend_ProgressBar_Adapter_JsPull

Member Data Documentation

$_exitAfterSend = true
protected