Abstract class for Zend_ProgressBar_Adapters

category Zend
package Zend_ProgressBar

 Methods

Create a new adapter

__construct(array | \Traversable $options) 

$options may be either be an array or a Zend_Config object which specifies adapter related options.

Parameters

$options

array\Traversable

Called when the progress is explicitly finished

finish() : void

Notify the adapter about an update

notify(float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text) : void

Parameters

$current

float

Current progress value

$max

float

Max progress value

$percent

float

Current percent value

$timeTaken

integer

Taken time in seconds

$timeRemaining

integer

Remaining time in seconds

$text

string

Status text

Set options via an array

setOptions(array $options) : \Zend\ProgressBar\Adapter\AbstractAdapter

Parameters

$options

array

Returns

 Properties

 

Option keys to skip when calling setOptions()

$skipOptions : array