Zend_ProgressBar_Adapter_JsPull offers a simple method for updating a progressbar in a browser.
category | Zend |
---|---|
package | Zend_ProgressBar |
uses | |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_ProgressBar_Adapter |
__construct(null|array|\Zend_Config $options = null
)
$options may be either be an array or a Zend_Config object which specifies adapter related options.
null
array
\Zend_Config
finish() : void
inherited_from | \Zend_ProgressBar_Adapter::finish() |
---|
finish() : void
notify(float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text) : void
inherited_from | \Zend_ProgressBar_Adapter::notify() |
---|
float
Current progress value
float
Max progress value
float
Current percent value
integer
Taken time in seconds
integer
Remaining time in seconds
string
Status text
notify(float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text) : void
float
Current progress value
float
Max progress value
float
Current percent value
integer
Taken time in seconds
integer
Remaining time in seconds
string
Status text
setConfig(\Zend_Config $config) : \Zend_ProgressBar_Adapter
\Zend_Config
\Zend_ProgressBar_Adapter
setExitAfterSend(boolean $exitAfterSend) : \Zend_ProgressBar_Adapter_JsPull
boolean
\Zend_ProgressBar_Adapter_JsPull
setOptions(array $options) : \Zend_ProgressBar_Adapter
array
\Zend_ProgressBar_Adapter
_outputData(string $data) : void
This split-off is required for unit-testing.
string
$_exitAfterSend : boolean
true
$_skipOptions : array
array('options', 'config')