Ajax_Request Class Reference

Public Member Functions

 __construct ($class, $method, $params=array())
 getClass ()
 getMethod ()
 getParameters ()
 __toString ()

Static Public Member Functions

static getRequest (Claro_Input $userInput)

Protected Attributes

 $klass
 $method
 $params

Detailed Description

AJAX Remote Method Request

Since:
Claroline 1.9.5

Definition at line 110 of file ajax.lib.php.


Constructor & Destructor Documentation

__construct ( class,
method,
params = array() 
)
Parameters:
string $class class name
string $method invoked method name
array $params method invokation parameters

Definition at line 119 of file ajax.lib.php.


Member Function Documentation

__toString (  ) 

Definition at line 153 of file ajax.lib.php.

getClass (  ) 

Get the name of the invoked class

Returns:
string class name

Definition at line 130 of file ajax.lib.php.

getMethod (  ) 

Get the name of the invoked method

Returns:
string method name

Definition at line 139 of file ajax.lib.php.

getParameters (  ) 

Get the parameters for the invoked method

Returns:
array method parameters

Definition at line 148 of file ajax.lib.php.

static getRequest ( Claro_Input userInput  )  [static]

FActory : build an Ajax Request object from the user input

Parameters:
Claro_Input $userInput
Returns:
Ajax_Request

Definition at line 163 of file ajax.lib.php.


Field Documentation

$klass [protected]

Definition at line 112 of file ajax.lib.php.

$method [protected]

Definition at line 112 of file ajax.lib.php.

$params [protected]

Definition at line 112 of file ajax.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3