ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilBMFParser (&$xml, $encoding=SOAP_DEFAULT_ENCODING, $attachments=null) | |
ilBMFParser constructor | |
domulti ($d, &$ar, &$r, &$v, $ad=0) | |
domulti recurse to build a multi-dim array, used by buildResponse | |
& | buildResponse ($pos) |
buildResponse loop through msg, building response structures | |
startElement ($parser, $name, $attrs) | |
startElement start-element handler used with xml parser | |
endElement ($parser, $name) | |
endElement end-element handler used with xml parser | |
characterData ($parser, $data) | |
characterData element content handler used with xml parser | |
& | getResponse () |
Returns an array of responses. | |
& | getHeaders () |
Returns an array of header responses. | |
decodeEntities ($text) | |
decodeEntities | |
Public Member Functions inherited from ilBMFBase | |
ilBMFBase ($faultcode= 'Client') | |
Constructor. | |
_resetNamespaces () | |
_setSchemaVersion ($schemaVersion) | |
Sets the schema version used in the SOAP message. | |
_getNamespacePrefix ($ns) | |
_getNamespaceForPrefix ($prefix) | |
_isSoapValue (&$value) | |
_serializeValue (&$value, $name= '', $type=false, $elNamespace=NULL, $typeNamespace=NULL, $options=array(), $attributes=array(), $artype='', $OBJTypeNS=array()) | |
_getType (&$value) | |
Converts a PHP type to a SOAP type. | |
_multiArrayType (&$value, &$type, &$size, &$xml) | |
_isBase64 (&$value) | |
Returns whether a string is base64 encoded data. | |
_isBase64Type ($type) | |
Returns whether a type is a base64 type. | |
_isHash (&$a) | |
Returns whether an array is a hash. | |
_un_htmlentities ($string) | |
& | _decode (&$soapval) |
_makeEnvelope (&$method, &$headers, $encoding=SOAP_DEFAULT_ENCODING, $options=array()) | |
Creates the SOAP envelope with the SOAP envelop data. | |
_makeMimeMessage (&$xml, $encoding=SOAP_DEFAULT_ENCODING) | |
_makeDIMEMessage ($xml) | |
_decodeMimeMessage (&$data, &$headers, &$attachments) | |
_decodeDIMEMessage (&$data, &$headers, &$attachments) | |
__set_type_translation ($type, $class=null) | |
Public Member Functions inherited from ilBMFBase_Object | |
ilBMFBase_Object ($faultcode= 'Client') | |
Constructor. | |
& | _raiseSoapFault ($str, $detail= '', $actorURI= '', $code=null, $mode=null, $options=null, $skipmsg=false) |
Raises a SOAP error. | |
__isfault () | |
& | __getfault () |
_debug ($string) | |
Adds a string to the debug data. |
Data Fields | |
$status = '' | |
$position = 0 | |
$pos_stat = 0 | |
$depth = 0 | |
$default_namespace = '' | |
$message = array() | |
$depth_array = array() | |
$previous_element = '' | |
$soapresponse = null | |
$soapheaders = null | |
$parent = 0 | |
$root_struct_name = array() | |
$header_struct_name = array() | |
$curent_root_struct_name = '' | |
$entities = array ( '&' => '&', '<' => '<', '>' => '>', "'" => ''', '"' => '"' ) | |
$root_struct = array() | |
$header_struct = array() | |
$curent_root_struct = 0 | |
$references = array() | |
$need_references = array() | |
$XMLSchemaVersion | |
$bodyDepth | |
Data Fields inherited from ilBMFBase | |
$_XMLSchema | |
$_XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
$_typemap | |
$_defaultObjectClassname = 'stdClass' | |
Default class name to use for decoded response objects. | |
$_namespaces | |
$_namespace | |
$_xmlEntities | |
$_doconversion = false | |
$__attachments = array() | |
$_wsdl = null | |
$_section5 = true | |
True if we use section 5 encoding, or false if this is literal. | |
$_auto_translation = false | |
$_type_translation = array() | |
Data Fields inherited from ilBMFBase_Object | |
$_debug_flag = false | |
Store debugging information in $_debug_data? | |
$_debug_data = '' | |
String containing debugging information if $_debug_flag is true. | |
$_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') | |
Supported encodings, limited by XML extension. | |
$_myfaultcode = '' | |
Fault code. | |
$fault = null | |
Recent PEAR_Error object. |
Definition at line 40 of file class.ilBMFParser.php.
& ilBMFParser::buildResponse | ( | $pos | ) |
buildResponse loop through msg, building response structures
int | position |
Definition at line 137 of file class.ilBMFParser.php.
References domulti().
Referenced by getHeaders(), and getResponse().
ilBMFParser::characterData | ( | $parser, | |
$data | |||
) |
characterData element content handler used with xml parser
private
Definition at line 453 of file class.ilBMFParser.php.
ilBMFParser::decodeEntities | ( | $text | ) |
decodeEntities
removes entities from text
string |
Definition at line 512 of file class.ilBMFParser.php.
ilBMFParser::domulti | ( | $d, | |
& | $ar, | ||
& | $r, | ||
& | $v, | ||
$ad = 0 |
|||
) |
domulti recurse to build a multi-dim array, used by buildResponse
private
Definition at line 120 of file class.ilBMFParser.php.
References $d.
Referenced by buildResponse().
ilBMFParser::endElement | ( | $parser, | |
$name | |||
) |
endElement end-element handler used with xml parser
private
Definition at line 388 of file class.ilBMFParser.php.
References $depth, and $parent.
& ilBMFParser::getHeaders | ( | ) |
Returns an array of header responses.
After parsing a SOAP message, use this to get the response.
Definition at line 490 of file class.ilBMFParser.php.
References buildResponse().
& ilBMFParser::getResponse | ( | ) |
Returns an array of responses.
After parsing a SOAP message, use this to get the response.
Definition at line 471 of file class.ilBMFParser.php.
References ilBMFBase_Object\_raiseSoapFault(), and buildResponse().
ilBMFParser::ilBMFParser | ( | & | $xml, |
$encoding = SOAP_DEFAULT_ENCODING , |
|||
$attachments = null |
|||
) |
ilBMFParser constructor
string | xml content |
string | xml character encoding, defaults to 'UTF-8' |
Definition at line 71 of file class.ilBMFParser.php.
References ilBMFBase_Object\_raiseSoapFault(), ilBMFBase\_setSchemaVersion(), ilBMFBase\ilBMFBase(), and SOAP_XML_SCHEMA_VERSION.
ilBMFParser::startElement | ( | $parser, | |
$name, | |||
$attrs | |||
) |
startElement start-element handler used with xml parser
private
Definition at line 221 of file class.ilBMFParser.php.
References $default_namespace, $depth, $namespace, $parent, $status, ilBMFBase\_getNamespaceForPrefix(), ilBMFBase\_getNamespacePrefix(), and ilBMFBase\_setSchemaVersion().
ilBMFParser::$bodyDepth |
Definition at line 63 of file class.ilBMFParser.php.
ilBMFParser::$curent_root_struct = 0 |
Definition at line 59 of file class.ilBMFParser.php.
ilBMFParser::$curent_root_struct_name = '' |
Definition at line 55 of file class.ilBMFParser.php.
ilBMFParser::$default_namespace = '' |
Definition at line 46 of file class.ilBMFParser.php.
Referenced by startElement().
ilBMFParser::$depth = 0 |
Definition at line 45 of file class.ilBMFParser.php.
Referenced by characterData(), endElement(), and startElement().
ilBMFParser::$depth_array = array() |
Definition at line 48 of file class.ilBMFParser.php.
ilBMFParser::$entities = array ( '&' => '&', '<' => '<', '>' => '>', "'" => ''', '"' => '"' ) |
Definition at line 56 of file class.ilBMFParser.php.
ilBMFParser::$header_struct = array() |
Definition at line 58 of file class.ilBMFParser.php.
ilBMFParser::$header_struct_name = array() |
Definition at line 54 of file class.ilBMFParser.php.
ilBMFParser::$message = array() |
Definition at line 47 of file class.ilBMFParser.php.
ilBMFParser::$need_references = array() |
Definition at line 61 of file class.ilBMFParser.php.
ilBMFParser::$parent = 0 |
Definition at line 52 of file class.ilBMFParser.php.
Referenced by endElement(), and startElement().
ilBMFParser::$pos_stat = 0 |
Definition at line 44 of file class.ilBMFParser.php.
ilBMFParser::$position = 0 |
Definition at line 43 of file class.ilBMFParser.php.
ilBMFParser::$previous_element = '' |
Definition at line 49 of file class.ilBMFParser.php.
ilBMFParser::$references = array() |
Definition at line 60 of file class.ilBMFParser.php.
ilBMFParser::$root_struct = array() |
Definition at line 57 of file class.ilBMFParser.php.
ilBMFParser::$root_struct_name = array() |
Definition at line 53 of file class.ilBMFParser.php.
ilBMFParser::$soapheaders = null |
Definition at line 51 of file class.ilBMFParser.php.
ilBMFParser::$soapresponse = null |
Definition at line 50 of file class.ilBMFParser.php.
ilBMFParser::$status = '' |
Definition at line 42 of file class.ilBMFParser.php.
Referenced by startElement().
ilBMFParser::$XMLSchemaVersion |
Definition at line 62 of file class.ilBMFParser.php.