ConsoleTools: ezcConsoleProgressbarOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcConsoleProgressbarOptions
|
Struct class to store the options of the ezcConsoleOutput class. [
source]
Parents
ezcBaseOptions
|
--ezcConsoleProgressbarOptions
Member Variables
|
protected string |
$actFormat
= '%.0f'
The format to display the actual value with. |
|
protected string |
$barChar
= "+"
The character to fill the bar with, during progress indication. |
|
protected string |
$emptyChar
= "-"
The character to pre-fill the bar, before indicating progress. |
|
protected string |
$formatString
= "%act% / %max% [%bar%] %fraction%%"
The format string to describe the complete progressbar. |
|
protected string |
$fractionFormat
= "%01.2f"
Format to display the fraction value. |
|
protected string |
$maxFormat
= '%.0f'
The format to display the actual value with. |
|
protected string |
$progressChar
= ">"
The character for the end of the progress area (the arrow!). |
|
protected int |
$redrawFrequency
= 1
How often to redraw the progressbar (on every Xth call to advance()). |
|
protected int |
$step
= 1
How many steps to advance the progressbar on each call to advance(). |
|
protected int |
$width
= 78
The width of the bar itself. |
Method Summary
|
public void |
__set(
$key, $value )
Option write access. |
Inherited Methods
From
ezcBaseOptions :
Methods
__set
void __set(
string
$key, mixed
$value )
Option write access.
Parameters
| Name |
Type |
Description |
$key |
string |
Name of the property. |
$value |
mixed |
The value for the property. |
Throws
| Class | Description |
ezcBasePropertyNotFoundException |
If a desired property could not be found. |
ezcBaseSettingValueException |
If a desired property value is out of range. |
Redefinition of
Last updated: Wed, 28 Nov 2007