ConsoleTools: ezcConsoleProgressbarOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcConsoleProgressbarOptions
|
Struct class to store the options of the ezcConsoleOutput class. [
source]
Parents
ezcBaseOptions
|
--ezcConsoleProgressbarOptions
Properties
|
string |
read/write
|
$actFormat
The format to display the actual value with. |
|
string |
read/write
|
$barChar
The character to fill the bar with, during progress indication. |
|
string |
read/write
|
$emptyChar
The character to pre-fill the bar, before indicating progress. |
|
string |
read/write
|
$formatString
The format string to describe the complete progressbar. |
|
string |
read/write
|
$fractionFormat
Format to display the fraction value. |
|
string |
read/write
|
$maxFormat
The format to display the actual value with. |
|
string |
read/write
|
$processChar
The character for the end of the progress area (the arrow!). |
|
int |
read/write
|
$redrawFrequency
How often to redraw the progressbar (on every Xth call to advance()). |
|
int |
read/write
|
$step
How many steps to advance the progressbar on each call to advance(). |
|
int |
read/write
|
$width
The width of the bar itself. |
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public void |
__construct(
[$options = array()] )
Construct a new options object. |
Inherited Methods
From
ezcBaseOptions :
Methods
__construct
void __construct(
[
$options = array()] )
Construct a new options object.
Options are constructed from an option array by default. The constructor automatically passes the given options to the __set() method to set them in the class.
Parameters
| Name |
Type |
Description |
$options |
array(string=>mixed) |
The initial options to set. |
Throws
| Class | Description |
ezcBasePropertyNotFoundException |
If a the value for the property options is not an instance of |
ezcBaseValueException |
If a the value for a property is out of range. |
Redefinition of
Last updated: Thu, 01 Nov 2007