ILIAS
Release_5_0_x_branch Revision 61816
|
Contains information for a SOAP fault. More...
Public Member Functions | |
nusoap_fault ($faultcode, $faultactor='', $faultstring='', $faultdetail='') | |
constructor | |
serialize () | |
serialize a fault | |
Public Member Functions inherited from nusoap_base | |
debug ($string) | |
adds debug data to the class level debug string | |
expandEntities ($val) | |
expands entities, e.g. | |
getError () | |
returns error string if present | |
setError ($str) | |
sets error string | |
isArraySimpleOrStruct ($val) | |
detect if array is a simple array or a struct (associative array) | |
serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded') | |
serializes PHP values in accordance w/ section 5. | |
serializeEnvelope ($body, $headers=false, $namespaces=array(), $style='rpc', $use='encoded') | |
serialize message | |
formatDump ($str) | |
contractQname ($qname) | |
contracts a qualified name | |
expandQname ($qname) | |
expands a qualified name | |
getLocalPart ($str) | |
returns the local part of a prefixed string returns the original string, if not prefixed | |
getPrefix ($str) | |
returns the prefix part of a prefixed string returns false, if not prefixed | |
getNamespaceFromPrefix ($prefix) | |
pass it a prefix, it returns a namespace returns false if no namespace registered with the given prefix | |
getPrefixFromNamespace ($ns) | |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace | |
varDump ($data) | |
nusoap_base () | |
constructor | |
getGlobalDebugLevel () | |
gets the global debug level, which applies to future instances | |
setGlobalDebugLevel ($level) | |
sets the global debug level, which applies to future instances | |
getDebugLevel () | |
gets the debug level for this instance | |
setDebugLevel ($level) | |
sets the debug level for this instance | |
debug ($string) | |
adds debug data to the instance debug string with formatting | |
appendDebug ($string) | |
adds debug data to the instance debug string without formatting | |
clearDebug () | |
clears the current debug data for this instance | |
& | getDebug () |
gets the current debug data for this instance | |
& | getDebugAsXMLComment () |
gets the current debug data for this instance as an XML comment this may change the contents of the debug data | |
expandEntities ($val) | |
expands entities, e.g. | |
getError () | |
returns error string if present | |
setError ($str) | |
sets error string | |
isArraySimpleOrStruct ($val) | |
detect if array is a simple array or a struct (associative array) | |
serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded', $soapval=false) | |
serializes PHP values in accordance w/ section 5. | |
serializeEnvelope ($body, $headers=false, $namespaces=array(), $style='rpc', $use='encoded', $encodingStyle='http://schemas.xmlsoap.org/soap/encoding/') | |
serializes a message | |
formatDump ($str) | |
formats a string to be inserted into an HTML stream | |
contractQname ($qname) | |
contracts (changes namespace to prefix) a qualified name | |
expandQname ($qname) | |
expands (changes prefix to namespace) a qualified name | |
getLocalPart ($str) | |
returns the local part of a prefixed string returns the original string, if not prefixed | |
getPrefix ($str) | |
returns the prefix part of a prefixed string returns false, if not prefixed | |
getNamespaceFromPrefix ($prefix) | |
pass it a prefix, it returns a namespace | |
getPrefixFromNamespace ($ns) | |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace | |
getmicrotime () | |
returns the time in ODBC canonical form with microseconds | |
varDump ($data) | |
Returns a string with the output of var_dump. | |
__toString () | |
represents the object as a string |
Data Fields | |
$faultcode | |
$faultactor | |
$faultstring | |
$faultdetail | |
Data Fields inherited from nusoap_base | |
$title = 'NuSOAP' | |
$version = '0.6.7' | |
$revision = '$Revision: 11808 $' | |
$error_str = false | |
$debug_str = '' | |
$charencoding = true | |
$XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
$soap_defencoding = 'UTF-8' | |
$namespaces | |
$usedNamespaces = array() | |
$typemap | |
$xmlEntities | |
$debugLevel |
Contains information for a SOAP fault.
Mainly used for returning faults from deployed functions in a server instance.
public
Definition at line 1004 of file nusoap.php.
nusoap_fault::nusoap_fault | ( | $faultcode, | |
$faultactor = '' , |
|||
$faultstring = '' , |
|||
$faultdetail = '' |
|||
) |
constructor
string | $faultcode | (SOAP-ENV:Client | SOAP-ENV:Server) |
string | $faultactor | only used when msg routed between multiple actors |
string | $faultstring | human readable error message |
mixed | $faultdetail | detail, typically a string or array of string |
Definition at line 1038 of file nusoap.php.
References $faultactor, $faultcode, $faultdetail, $faultstring, and nusoap_base\nusoap_base().
nusoap_fault::serialize | ( | ) |
serialize a fault
Reimplemented in soap_fault.
Definition at line 1052 of file nusoap.php.
References nusoap_base\serialize_val().
nusoap_fault::$faultactor |
Definition at line 1016 of file nusoap.php.
Referenced by nusoap_fault().
nusoap_fault::$faultcode |
Definition at line 1010 of file nusoap.php.
Referenced by nusoap_fault().
nusoap_fault::$faultdetail |
Definition at line 1028 of file nusoap.php.
Referenced by nusoap_fault().
nusoap_fault::$faultstring |
Definition at line 1022 of file nusoap.php.
Referenced by nusoap_fault().