Path

ez components / documentation / api reference / trunk / consoletools


eZ Components trunk

ConsoleTools: ezcConsoleMenuDialogValidator

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

Interface: ezcConsoleMenuDialogValidator

Interface that every console menu dialog validator class must implement. [source]

Parents

ezcConsoleDialogValidator
   |
   --ezcConsoleQuestionDialogValidator
      |
      --ezcConsoleMenuDialogValidator

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 array(string=>string) getElements( )
Returns an array of the elements to display.

Inherited Methods

From ezcConsoleQuestionDialogValidator :
public string ezcConsoleQuestionDialogValidator::getResultString()
Returns a string of possible results to be displayed with the question.
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

getElements

array(string=>string) getElements( )
Returns an array of the elements to display.

Last updated: Thu, 08 Jan 2009