Moodle  2.2.1
http://www.collinsharper.com
webservice_soap_client Class Reference
Inheritance diagram for webservice_soap_client:
Collaboration diagram for webservice_soap_client:

Public Member Functions

 __construct ($serverurl, $token, $options=null)
 set_token ($token)
 call ($functionname, $params)

Detailed Description

Moodle SOAP client class

Definition at line 23 of file lib.php.


Constructor & Destructor Documentation

__construct ( serverurl,
token,
options = null 
)

Constructor

Parameters:
string$serverurl
string$token
array$optionsPHP SOAP client options - see php.net

Definition at line 33 of file lib.php.


Member Function Documentation

call ( functionname,
params 
)

Execute client WS request

Parameters:
string$functionname
array$params
Returns:
mixed

Definition at line 54 of file lib.php.

Here is the call graph for this function:

set_token ( token)

Set the token used to do the SOAP call

Parameters:
string$token

Definition at line 43 of file lib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations