ConsoleTools: ezcConsoleOutputOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcConsoleOutputOptions
|
Struct class to store the options of the ezcConsoleOutput class. [
source]
Parents
ezcBaseOptions
|
--ezcConsoleOutputOptions
Member Variables
|
protected int |
$autobreak
= 0
Determines, whether text is automatically wrapped after a specific amount of characters in a line. If set to 0 (default), lines will not be wrapped automatically. |
|
protected bool |
$useFormats
= true
Wether to use formatting or not. |
|
protected int |
$verbosityLevel
= 1
Determines the level of verbosity. |
Method Summary
|
public void |
__construct(
$options )
Construct a new options object. |
|
public void |
__set(
$propertyName, $val )
Property write access. |
Inherited Methods
From
ezcBaseOptions :
Methods
__construct
void __construct(
array(string=>mixed)
$options )
Construct a new options object.
NOTE: For BC reasons the old method of instanciating this class is kept, but the usage of the new versoion is highly incouraged.
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
__set
void __set(
string
$propertyName, mixed
$val )
Property write access.
Parameters
| Name |
Type |
Description |
$propertyName |
string |
Name of the property. |
$val |
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