__construct()
finish()
notify()
setExitAfterSend()
setOptions()
_outputData()
$exitAfterSend
$skipOptions
Zend\ProgressBar\Adapter\JsPull offers a simple method for updating a progressbar in a browser.
__construct(array | \Traversable $options)
$options may be either be an array or a Zend\Config object which specifies adapter related options.
inherited_from | \Zend\ProgressBar\Adapter\AbstractAdapter::__construct() |
---|
array\Traversable
finish() : void
notify(float $current, float $max, float $percent, int $timeTaken, int $timeRemaining, string $text) : void
float
Current progress value
float
Max progress value
float
Current percent value
int
Taken time in seconds
int
Remaining time in seconds
string
Status text
setExitAfterSend(bool $exitAfterSend) : \Zend\ProgressBar\Adapter\JsPull
setOptions(array $options) : \Zend\ProgressBar\Adapter\AbstractAdapter
inherited_from | \Zend\ProgressBar\Adapter\AbstractAdapter::setOptions() |
---|
array
_outputData(string $data) : void
This split-off is required for unit-testing.
string
$exitAfterSend : bool
$skipOptions : array
inherited_from | \Zend\ProgressBar\Adapter\AbstractAdapter::$$skipOptions |
---|