ez components / documentation / api reference / latest / consoletools

eZ Components latest

ConsoleTools: ezcConsoleQuestionDialogOptions

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcConsoleQuestionDialogOptions

Basic options class for ezcConsoleDialog implementations. [source]




string read/write  $format
The output format for the dialog.
bool read/write  $showResults
Wether to display the possible results and the default selection.
string read/write  $text
The question itself.
ezcConsoleQuestionDialogValidator read/write  $validator
The validator to use with this dialog.

Inherited Member Variables

From ezcConsoleDialogOptions:
protected  ezcConsoleDialogOptions::$properties

Method Summary

public ezcConsoleQuestionDialogOptions __construct( [$options = array()] )
Construct a new options object.

Inherited Methods

From ezcBaseOptions :
public ezcBaseOptions ezcBaseOptions::__construct()
Construct a new options object.
public void ezcBaseOptions::merge()
Merge an array into the actual options object.
public bool ezcBaseOptions::offsetExists()
Returns if an option exists.
public mixed ezcBaseOptions::offsetGet()
Returns an option value.
public void ezcBaseOptions::offsetSet()
Set an option.
public void ezcBaseOptions::offsetUnset()
Unset an option.



ezcConsoleQuestionDialogOptions __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.


Name Type Description
$options array(string=>mixed) The initial options to set.


ezcBaseValueException If the value for a property is out of range.
ezcBasePropertyNotFoundException If trying to access a non existent property.

Redefinition of

Method Description
ezcBaseOptions::__construct() Construct a new options object.

Last updated: Mon, 21 Dec 2009