Zend offers an interface for multiple environments.
More...
|
| __construct (Adapter\AbstractAdapter $adapter, $min=0, $max=100, $persistenceNamespace=null) |
| Create a new progressbar backend.
|
|
| getAdapter () |
| Get the current adapter.
|
|
| update ($value=null, $text=null) |
| Update the progressbar.
|
|
| next ($diff=1, $text=null) |
| Update the progressbar to the next value.
|
|
| finish () |
| Call the adapters finish() behaviour.
|
|
Zend offers an interface for multiple environments.
__construct |
( |
Adapter\AbstractAdapter |
$adapter, |
|
|
|
$min = 0 , |
|
|
|
$max = 100 , |
|
|
|
$persistenceNamespace = null |
|
) |
| |
Create a new progressbar backend.
- Parameters
-
Adapter\AbstractAdapter | $adapter | |
float | int | $min | |
float | int | $max | |
string | null | $persistenceNamespace | |
- Exceptions
-
Exception\OutOfRangeException | When $min is greater than $max |
Call the adapters finish() behaviour.
- Returns
- void
Get the current adapter.
- Returns
- Adapter
next |
( |
|
$diff = 1 , |
|
|
|
$text = null |
|
) |
| |
Update the progressbar to the next value.
- Parameters
-
- Returns
- void
update |
( |
|
$value = null , |
|
|
|
$text = null |
|
) |
| |
Update the progressbar.
- Parameters
-
- Returns
- void
$persistenceNamespace = null |
|
protected |