PATH:
opt
/
alt
/
php55
/
usr
/
share
/
doc
/
pear
/
ConsoleTools
/
docs
<?php require_once "Base/src/base.php"; function __autoload( $className ) { ezcBase::autoload( $className ); } $out = new ezcConsoleOutput(); $opts = new ezcConsoleMenuDialogOptions(); $opts->text = "Please choose a possibility:\n"; $opts->validator = new ezcConsoleMenuDialogDefaultValidator( array( "A" => "Selection A", "B" => "Selection B", "C" => "Selection C", "D" => "Selection D", "Z" => "Selection Z", ), "Z" ); $dialog = new ezcConsoleMenuDialog( $out, $opts ); $res = ezcConsoleDialogViewer::displayDialog( $dialog ); echo "User seletced $res\n"; ?>
[-] example_table_2.php
[edit]
[-] tutorial_example_10_table_advanced.php
[edit]
[-] tutorial_example_03_output_options.php
[edit]
[-] LICENSE
[edit]
[-] example_output.php
[edit]
[-] example_question_dialog_factory_yesno.php
[edit]
[-] example_statusbar.php
[edit]
[-] tutorial_example_13_dialog_question.php
[edit]
[-] tutorial.txt
[edit]
[-] tutorial_example_output_targets.php
[edit]
[-] example_progressmonitor.php
[edit]
[-] example_table.php
[edit]
[-] tutorial_example_15_dialog_menu.php
[edit]
[-] tutorial_example_14_dialog_yesnoquestion.php
[edit]
[-] tutorial_example_07_progressbar_advanced.php
[edit]
[-] tutorial_autoload.php
[edit]
[-] example_input.php
[edit]
[-] example_menu_dialog_full.php
[edit]
[-] tutorial_example_06_progressbar_basic.php
[edit]
[-] tutorial_example_12_input_arguments.php
[edit]
[-] CREDITS
[edit]
[-] tutorial_example_05_input_advanced.php
[edit]
[-] example_question_dialog_collection_full.php
[edit]
[-] example_progressbar.php
[edit]
[-] tutorial_example_08_statusbar.php
[edit]
[-] tutorial_example_02_output_advanced.php
[edit]
[-] tutorial_example_01_output_basic.php
[edit]
[-] tutorial_example_11_progressmonitor.php
[edit]
[+]
..
[-] tutorial_example_04_input_basic.php
[edit]
[-] example_question_dialog_type_full.php
[edit]
[-] tutorial_example_09_table_basic.php
[edit]
[+]
img