[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 599 lines (24 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
soap_parser:: (8 methods):
soap_parser()
start_element()
end_element()
character_data()
get_response()
getHeaders()
decodeSimple()
buildVal()
Class: soap_parser - X-Ref
soap_parser class parses SOAP XML messages into native PHP valuessoap_parser($xml,$encoding='UTF-8',$method='',$decode_utf8=true) X-Ref |
constructor that actually does the parsing param: string $xml SOAP message param: string $encoding character encoding scheme of message param: string $method method for which XML is parsed (unused?) param: string $decode_utf8 whether to decode UTF-8 to ISO-8859-1 |
start_element($parser, $name, $attrs) X-Ref |
start-element handler param: resource $parser XML parser object param: string $name element name param: array $attrs associative array of attributes |
end_element($parser, $name) X-Ref |
end-element handler param: resource $parser XML parser object param: string $name element name |
character_data($parser, $data) X-Ref |
element content handler param: resource $parser XML parser object param: string $data element content |
get_response() X-Ref |
get the parsed message return: mixed |
getHeaders() X-Ref |
get the parsed headers return: string XML or empty if no headers |
decodeSimple($value, $type, $typens) X-Ref |
decodes simple types into PHP variables param: string $value value to decode param: string $type XML type to decode param: string $typens XML type namespace to decode return: mixed PHP value |
buildVal($pos) X-Ref |
builds response structures for compound values (arrays/structs) and scalars param: integer $pos position in node tree return: mixed PHP value |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |