|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($strategy=true, $uri=null) | |
| setUri ($uri) | |
| getUri () | |
| setOperationBodyStyle (array $operationStyle=array()) | |
| setBindingStyle (array $bindingStyle=array()) | |
| setComplexTypeStrategy ($strategy) | |
| setClass ($class, $namespace= '', $argv=null) | |
| addFunction ($function, $namespace= '') | |
| fault ($fault=null, $code=null) | |
| handle ($request=false) | |
| dump ($filename) | |
| toXml () | |
| getFunctions () | |
| loadFunctions ($definition) | |
| setPersistence ($mode) | |
| getType ($type) | |
Protected Member Functions | |
| getSchema () | |
| getHostName () | |
| getRequestUriWithoutParameters () | |
| _addFunctionToWsdl ($function, $wsdl, $port, $binding) | |
Protected Attributes | |
| $_wsdl = null | |
| $_reflection = null | |
| $_functions = array() | |
| $_strategy | |
| $_uri | |
| $_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/") | |
| $_bindingStyle = array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http') | |
Definition at line 51 of file AutoDiscover.php.
| __construct | ( | $ | strategy = true, |
| $ | uri = null |
||
| ) |
Constructor
| boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy | |
| string | Zend_Uri | $uri |
Definition at line 100 of file AutoDiscover.php.

| _addFunctionToWsdl | ( | $ | function, |
| $ | wsdl, | ||
| $ | port, | ||
| $ | binding | ||
| ) | [protected] |
Add a function to the WSDL document.
| $function | Zend_Server_Reflection_Function_Abstract function to add |
| $wsdl | Zend_Soap_Wsdl WSDL document |
| $port | object wsdl:portType |
| $binding | object wsdl:binding |
Definition at line 338 of file AutoDiscover.php.


| addFunction | ( | $ | function, |
| $ | namespace = '' |
||
| ) |
Add a Single or Multiple Functions to the WSDL
| string | $function | Function Name |
| string | $namespace | Function namespace - Not Used |
Implements Zend_Server_Interface.
Definition at line 293 of file AutoDiscover.php.

| dump | ( | $ | filename | ) |
Proxy to WSDL dump function
| string | $filename |
Definition at line 470 of file AutoDiscover.php.
| fault | ( | $ | fault = null, |
| $ | code = null |
||
| ) |
Action to take when an error occurs
| string | $fault | |
| string | int | $code |
Implements Zend_Server_Interface.
Definition at line 446 of file AutoDiscover.php.
| getFunctions | ( | ) |
Return an array of functions in the WSDL
Implements Zend_Server_Interface.
Definition at line 504 of file AutoDiscover.php.
| getHostName | ( | ) | [protected] |
Detect and return the current hostname
Definition at line 211 of file AutoDiscover.php.

| getRequestUriWithoutParameters | ( | ) | [protected] |
Detect and return the current script name without parameters
Definition at line 226 of file AutoDiscover.php.

| getSchema | ( | ) | [protected] |
Detect and returns the current HTTP/HTTPS Schema
Definition at line 197 of file AutoDiscover.php.

| getType | ( | $ | type | ) |
Returns an XSD Type for the given PHP type
| string | $type | PHP Type to get the XSD type for |
Definition at line 537 of file AutoDiscover.php.
| getUri | ( | ) |
Return the current Uri that the SOAP WSDL Service will be located at.
Definition at line 139 of file AutoDiscover.php.


| handle | ( | $ | request = false | ) |
Handle the Request
| string | $request | A non-standard request - Not Used |
Implements Zend_Server_Interface.
Definition at line 457 of file AutoDiscover.php.
| loadFunctions | ( | $ | definition | ) |
Load Functions
| unknown_type | $definition |
Implements Zend_Server_Interface.
Definition at line 514 of file AutoDiscover.php.
| setBindingStyle | ( | array $ | bindingStyle = array() | ) |
Set Binding soap:binding style.
By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.
| array | $bindingStyle |
Definition at line 181 of file AutoDiscover.php.
| setClass | ( | $ | class, |
| $ | namespace = '', |
||
| $ | argv = null |
||
| ) |
Set the Class the SOAP server will use
| string | $class | Class Name |
| string | $namespace | Class Namspace - Not Used |
| array | $argv | Arguments to instantiate the class - Not Used |
Implements Zend_Server_Interface.
Definition at line 267 of file AutoDiscover.php.

| setComplexTypeStrategy | ( | $ | strategy | ) |
Set the strategy that handles functions and classes that are added AFTER this call.
| boolean | string | Zend_Soap_Wsdl_Strategy_Interface | $strategy |
Definition at line 250 of file AutoDiscover.php.

| setOperationBodyStyle | ( | array $ | operationStyle = array() | ) |
Set options for all the binding operations soap:body elements.
By default the options are set to 'use' => 'encoded' and 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/".
| array | $operationStyle |
Definition at line 163 of file AutoDiscover.php.
| setPersistence | ( | $ | mode | ) |
Set Persistance
| int | $mode |
Implements Zend_Server_Interface.
Definition at line 525 of file AutoDiscover.php.
| setUri | ( | $ | uri | ) |
Set the location at which the WSDL file will be availabe.
| Zend_Soap_AutoDiscover_Exception |
| Zend_Uri | string | $uri |
Definition at line 118 of file AutoDiscover.php.

| toXml | ( | ) |
Proxy to WSDL toXml() function
Definition at line 486 of file AutoDiscover.php.
$_bindingStyle = array('style' => 'rpc', 'transport' => 'http://schemas.xmlsoap.org/soap/http') [protected] |
Definition at line 92 of file AutoDiscover.php.
$_functions = array() [protected] |
Definition at line 66 of file AutoDiscover.php.
$_operationBodyStyle = array('use' => 'encoded', 'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/") [protected] |
Definition at line 85 of file AutoDiscover.php.
$_reflection = null [protected] |
Definition at line 61 of file AutoDiscover.php.
$_strategy [protected] |
Definition at line 71 of file AutoDiscover.php.
$_uri [protected] |
Definition at line 78 of file AutoDiscover.php.
$_wsdl = null [protected] |
Definition at line 56 of file AutoDiscover.php.