expJavascript

define

"BASE" "../../.."

package

Subsystems

Methods

ajaxReply

ajaxReply(integer $replyCode = 200, string $replyText = 'Ok',  $data) : string
static
deprecated 2.3.4

in favor of expAjaxReply

Arguments

$replyCode

integer

$replyText

string

$data

Response

string

footJavascriptOutput

footJavascriptOutput() 
static

inAjaxAction

inAjaxAction() 
static

exdoc Takes a stdClass object from PHP, and generates the corresponding Javascript class function. The data in the members of the PHP object is not important, only the presence and names of said members. Returns the javascript class function code.

jClass(Object $object, string $name) : string
static
node

Subsystems:Javascript

Arguments

$object

Object

The object to translate

$name

string

What to call the class in javascript

Response

string

exdoc Takes a stdClass object from PHP, and generates the corresponding Javascript calls to make a new Javascript object. In order for the resulting Javascript to function properly, a call to expJavascript_class must have been made previously, and the same $name attribute used. Returns the javascript code to create a new object.

jObject(Object $object, string $name = "Array") : string
static

The data in the members of the PHP object will be used to populate the members of the new Javascript object.

node

Subsystems:Javascript

Arguments

$object

Object

The object to translate

$name

string

The name of the javascript class

Response

string

Create a YUI2 Panel?

panel( $params) 
static
deprecated

yui2

Arguments

$params

parseJSFiles

parseJSFiles() 
static

pushToFoot

pushToFoot( $params) 
static

Arguments

$params

requiresJSON

requiresJSON() 
static