Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Abstract class for Zend_ProgressBar_Adapters

__construct(
null|array|\Zend_Config $options
=
null
)
:
void
Create a new adapter
$options may be either be an array or a Zend_Config object which specifies adapter related options.
Name | Type | Description |
---|---|---|
$options | null|array|\Zend_Config |

notify(
float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text
)
:
void
Notify the adapter about an update
Name | Type | Description |
---|---|---|
$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 |

setConfig(
\Zend_Config $config
)
:
\Zend_ProgressBar_Adapter
Set options via a Zend_Config instance
Name | Type | Description |
---|---|---|
$config | \Zend_Config |
Type | Description |
---|---|
\Zend_ProgressBar_Adapter |