Path

ez components / documentation / api reference / 2007.2alpha1 / consoletools


eZ Components 2007.2alpha1

ConsoleTools: ezcConsoleQuestionDialogValidator

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

Interface: ezcConsoleQuestionDialogValidator

File containing the ezcConsoleQuestionDialogValidator class. [source]

Parents

ezcConsoleDialogValidator
   |
   --ezcConsoleQuestionDialogValidator

Descendents

Child Class Description
ezcConsoleMenuDialogValidator Interface for ezcConsoleMenuDialog validator classes.

Inherited Constants

From ezcConsoleDialogValidator:
ezcConsoleDialogValidator::CONVERT_LOWER    Convert result to lower-case.
ezcConsoleDialogValidator::CONVERT_NONE    Perform no conversion on the result.
ezcConsoleDialogValidator::CONVERT_UPPER    Convert result to upper-case.

Method Summary

public string getResultString( )
Returns a string of possible results to be displayed with the question.

Inherited Methods

From ezcConsoleDialogValidator :
public mixed ezcConsoleDialogValidator::fixup()
Returns a fixed version of the result, if possible.
public bool ezcConsoleDialogValidator::validate()
Returns if the given result is valid.

Methods

getResultString

string getResultString( )
Returns a string of possible results to be displayed with the question.
For example "(y/n) [y]" to indicate "y" and "n" are valid values and "y" is preselected.

Last updated: Mon, 12 Nov 2007