xajax
[ class tree: xajax ] [ index: xajax ] [ all elements ]

Class: xajaxDefaultRequestProcessorPlugin

Source Location: /pem-includes/xajax/xajax_core/plugin_layer/xajaxDefaultRequestProcessorPlugin.inc.php

Class Overview

xajaxRequestProcessorPlugin
   |
   --xajaxDefaultRequestProcessorPlugin

xajaxDefaultRequestProcessorPlugin.inc.php :: xajax default request processor plugin


Author(s):

Version:

  • $Id: xajaxDefaultRequestProcessorPlugin.inc.php 317 2007-01-30 19:36:39Z gaeldesign $

Copyright:

  • Copyright (c) 2005-2006 by Jared White & J. Max Wilson

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 24]
xajaxDefaultRequestProcessorPlugin.inc.php :: xajax default request processor plugin

xajax version 0.5 (Beta 2) copyright (c) 2006 by Jared White & J. Max Wilson http://www.xajaxproject.org

xajax is an open source PHP class library for easily creating powerful PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously call PHP functions and update the content of your your webpage without reloading the page.

xajax is released under the terms of the BSD license http://www.xajaxproject.org/bsd_license.txt




Tags:

version:  $Id: xajaxDefaultRequestProcessorPlugin.inc.php 317 2007-01-30 19:36:39Z gaeldesign $
copyright:  Copyright (c) 2005-2006 by Jared White & J. Max Wilson
license:  BSD License


[ Top ]


Class Variables

$aObjArray =

[line 29]



Tags:

var:  Array for parsing complex objects

Type:   array


[ Top ]

$iPos =

[line 33]



Tags:

var:  Position in $aObjArray

Type:   integer


[ Top ]



Class Methods


method canProcessRequest [line 46]

void canProcessRequest( )



Overrides xajaxRequestProcessorPlugin::canProcessRequest() (parent method not documented)

[ Top ]

method getRequestMode [line 35]

void getRequestMode( )



Overrides xajaxRequestProcessorPlugin::getRequestMode() (parent method not documented)

[ Top ]

method processRequest [line 52]

void processRequest( )



Overrides xajaxRequestProcessorPlugin::processRequest() (parent method not documented)

[ Top ]

method _decodeUTF8Data [line 454]

string _decodeUTF8Data( string $sData)

Decodes string data from UTF-8 to the current xajax encoding.



Tags:

return:  converted data
access:  protected


Parameters:

string   $sData   data to convert

[ Top ]

method _outputError [line 251]

void _outputError( $errorMsg)



Parameters:

   $errorMsg  

[ Top ]

method _outputResponse [line 207]

void _outputResponse( $objResponse)



Parameters:

   $objResponse  

[ Top ]

method _parseObjXml [line 333]

array _parseObjXml( string $rootTag)

A recursive function that generates an array from the contents of $this->aObjArray.



Tags:

access:  protected


Parameters:

string   $rootTag   the root tag of the XML

[ Top ]

method _processInputArgs [line 267]

array _processInputArgs( array $aArgs)

Converts the raw input arguments into proper xajax arguments.

You can subclass xajax and extend this method to perform additional conversion steps such as input filtering.




Tags:

access:  protected


Parameters:

array   $aArgs   the arguments to process

[ Top ]

method _xmlToArray [line 303]

array _xmlToArray( string $rootTag, string $sXml)

Takes a string containing xajax xjxobj XML or xjxquery XML and builds an array representation of it to pass as an argument to the PHP function being called.



Tags:

access:  protected


Parameters:

string   $rootTag   the root tag of the XML
string   $sXml   XML to convert

[ Top ]


Documentation generated on Tue, 21 Aug 2007 14:49:57 -0500 by phpDocumentor 1.4.0a2