File: examples/pause.php

Recommend this page to a friend!
  Classes of Michele Brodoloni  >  PHP Dialog  >  examples/pause.php  >  Download  
File: examples/pause.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Dialog
Create console based UIs with the dialog program
Author: By
Last change:
Date: 9 years ago
Size: 327 bytes


Class file image Download

require_once '../include/class.dialog.php';

$dialog = Dialog::factory('pause', array(
'backtitle' => 'Pause'

$dialog->setWindowSize(30, 8)
setCaption("Please wait...")

$res = $dialog->show();

if (
$res === false) {
"You have hit EXIT or ESC\n");


For more information send a message to info at phpclasses dot org.