Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
File Manager
/
ALFA_DATA
/
alfasymlink
/
root
/
opt
/
cloudlinux
/
alt-php53
/
root
/
usr
/
share
/
doc
/
pear
/
ConsoleTools
/
docs
:
tutorial_example_14_dialog_yesnoquestion.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php require_once 'tutorial_autoload.php'; $output = new ezcConsoleOutput(); $question = ezcConsoleQuestionDialog::YesNoQuestion( $output, "Do you want to proceed?", "y" ); do { echo "\nSome action performed...\n\n"; } while ( ezcConsoleDialogViewer::displayDialog( $question ) !== "n" ); echo "Goodbye!\n"; ?>