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.
Zend_ProgressBar offers an interface for multiple enviroments.
Zend_ProgressBar_Adapter $_adapter = ''
Adapter for the output
float $_current = ''
Current value
float $_max = ''
Max value
float $_min = ''
Min value
string $_persistenceNamespace = 'null'
Namespace for keeping the progressbar persistent
integer $_startTime = ''
Start time of the progressbar, required for ETA
string $_statusText = 'null'
Current status text
__construct(
Zend_ProgressBar_Adapter $adapter, float $min
=
0, float $max
=
100, string $persistenceNamespace
=
null
)
:
Create a new progressbar backend.
finish(
)
:
void
Call the adapters finish() behaviour
getAdapter(
)
:
Zend_ProgressBar_Adapter
Get the current adapter
next(
$diff
=
1, string $text
=
null
)
:
void
Update the progressbar to the next value
update(
float $value
=
null, string $text
=
null
)
:
void
Update the progressbar