alert_confirm.php

Test script for the following xajaxResponse commands

Summary
Contains functions that will be registered and called from the browser.
Constructor
Generates a xajaxResponse->alert command that displays a message.
Generates a xajaxResponse->confirmCommands command that will prompt the user if they want to see the alert, then a xajaxResponse->alert command.

Functions

sendAlert

function sendAlert($sValue)

See clsPage->sendAlert

sendConfirmCommands

function sendConfirmCommands()

See clsPage->sendAlert

clsPage

Contains functions that will be registered and called from the browser.

Summary
Constructor
Generates a xajaxResponse->alert command that displays a message.
Generates a xajaxResponse->confirmCommands command that will prompt the user if they want to see the alert, then a xajaxResponse->alert command.

Functions

clsPage

function clsPage()

Constructor

sendAlert

function sendAlert($sValue)

Generates a xajaxResponse->alert command that displays a message.

sendConfirmCommands

function sendConfirmCommands()

Generates a xajaxResponse->confirmCommands command that will prompt the user if they want to see the alert, then a xajaxResponse->alert command.

function sendAlert($sValue)
See clsPage->sendAlert
function sendAlert($sValue)
Generates a xajaxResponse->alert command that displays a message.
function sendConfirmCommands()
See clsPage->sendAlert
function clsPage()
Constructor
function alert($sMsg)
Response command that is used to display an alert message to the user.
function sendConfirmCommands()
Generates a xajaxResponse->confirmCommands command that will prompt the user if they want to see the alert, then a xajaxResponse->alert command.
function confirmCommands($iCmdNumber,
$sMessage)
Response command that prompts user with [ok] [cancel] style message box.
Collect commands to be sent back to the browser in response to a xajax request.