Zend_ProgressBar_Adapter_Console offers a text-based progressbar for console applications
Defined by Zend_ProgressBar_Adapter
| Parameters: | array|Traversable – |
|---|
Set a different output-stream
| Parameters: | string – |
|---|---|
| Throws ExceptionRuntimeException: | |
| Return type: | ZendProgressBarAdapterConsole |
Set the width of the progressbar
| Parameters: | integer – |
|---|---|
| Return type: | ZendProgressBarAdapterConsole |
Set the elements to display with the progressbar
| Parameters: | array – |
|---|---|
| Throws ZendProgressBarAdapterExceptionInvalidArgumentException: | |
| When an invalid element is found in the array | |
| Return type: | ZendProgressBarAdapterConsole |
Set the left-hand character for the bar
| Parameters: | string – |
|---|---|
| Throws ZendProgressBarAdapterExceptionInvalidArgumentException: | |
| When character is empty | |
| Return type: | ZendProgressBarAdapterConsole |
Set the right-hand character for the bar
| Parameters: | string – |
|---|---|
| Throws ZendProgressBarAdapterExceptionInvalidArgumentException: | |
| When character is empty | |
| Return type: | ZendProgressBarAdapterConsole |
Set the indicator character for the bar
| Parameters: | string – |
|---|---|
| Return type: | ZendProgressBarAdapterConsole |
Set the width of the text element
| Parameters: | integer – |
|---|---|
| Return type: | ZendProgressBarAdapterConsole |
Set the finish action
| Parameters: | string – |
|---|---|
| Throws ZendProgressBarAdapterExceptionInvalidArgumentException: | |
| When an invalid action is specified | |
| Return type: | ZendProgressBarAdapterConsole |
Defined by ZendProgressBarAdapterAbstractAdapter
| Parameters: |
|
|---|---|
| Return type: | void |
Defined by ZendProgressBarAdapterAbstractAdapter
| Return type: | void |
|---|
Percentage value of the progress
Visual value of the progress
ETA of the progress
Text part of the progress
Finish action: End of Line
Finish action: Clear Line
Finish action: None