xajaxEventPlugin. inc.php

Contains the xajaxEventPlugin class

Summary
Contains the xajaxEventPlugin class
Please see copyright.inc.php for a detailed description, copyright and license information.
Specifies that the item being registered via the xajax->register function is an event.
Specifies that the item being registered via the xajax->register function is an event handler.
Plugin that adds server side event handling capabilities to xajax.

xajaxEventPlugin class

Please see copyright.inc.php for a detailed description, copyright and license information.

Summary
Specifies that the item being registered via the xajax->register function is an event.
Specifies that the item being registered via the xajax->register function is an event handler.

Constants

XAJAX_EVENT

Specifies that the item being registered via the xajax->register function is an event.

XAJAX_EVENT_HANDLER

Specifies that the item being registered via the xajax->register function is an event handler.

xajaxEventPlugin

Plugin that adds server side event handling capabilities to xajax.  Events can be registered, then event handlers attached.

Variables

aEvents

var $aEvents

sXajaxPrefix

var $sXajaxPrefix

sEventPrefix

var $sEventPrefix

sDefer

var $sDefer

sRequestedEvent

var $sRequestedEvent

Functions

xajaxEventPlugin

function xajaxEventPlugin()

configure

function configure($sName,
$mValue)

register

function register($aArgs)
$sType(string): type of item being registered
$sEvent(string): the name of the event
$ufHandler(function name or reference): a reference to the user function to call
$aConfiguration(array): an array containing configuration options

generateClientScript

function generateClientScript()

canProcessRequest

function canProcessRequest()

processRequest

function processRequest()
This file contains detailed information regarding the xajax project, current version, copyrights, licnese and documentation.
function register($sType,
$mArg)
Call this function to register request handlers, including functions, callable objects and events.
var $aEvents
var $sXajaxPrefix
var $sEventPrefix
var $sDefer
var $sRequestedEvent
function xajaxEventPlugin()
function configure($sName,
$mValue)
function register($aArgs)
function generateClientScript()
function canProcessRequest()
function processRequest()