Inheritance diagram for soap_parser:
Public Member Functions | |
| soap_parser ($xml, $encoding='UTF-8', $method='', $decode_utf8=true) | |
| start_element ($parser, $name, $attrs) | |
| end_element ($parser, $name) | |
| character_data ($parser, $data) | |
| get_response () | |
| getHeaders () | |
| decodeSimple ($value, $type, $typens) | |
| buildVal ($pos) | |
| soap_parser ($xml, $encoding='UTF-8', $method='', $decode_utf8=true) | |
| start_element ($parser, $name, $attrs) | |
| end_element ($parser, $name) | |
| character_data ($parser, $data) | |
| get_response () | |
| getHeaders () | |
| decodeSimple ($value, $type, $typens) | |
| buildVal ($pos) | |
| soap_parser::soap_parser | ( | $ | xml, | |
| $ | encoding = 'UTF-8', |
|||
| $ | method = '', |
|||
| $ | decode_utf8 = true | |||
| ) |
constructor that actually does the parsing
| string | $xml SOAP message | |
| string | $encoding character encoding scheme of message | |
| string | $method method for which XML is parsed (unused?) | |
| string | $decode_utf8 whether to decode UTF-8 to ISO-8859-1 public |
| soap_parser::start_element | ( | $ | parser, | |
| $ | name, | |||
| $ | attrs | |||
| ) |
start-element handler
| resource | $parser XML parser object | |
| string | $name element name | |
| array | $attrs associative array of attributes private |
| soap_parser::end_element | ( | $ | parser, | |
| $ | name | |||
| ) |
end-element handler
| resource | $parser XML parser object | |
| string | $name element name private |
| soap_parser::character_data | ( | $ | parser, | |
| $ | data | |||
| ) |
element content handler
| resource | $parser XML parser object | |
| string | $data element content private |
| soap_parser::get_response | ( | ) |
get the parsed message
| soap_parser::getHeaders | ( | ) |
get the parsed headers
| soap_parser::decodeSimple | ( | $ | value, | |
| $ | type, | |||
| $ | typens | |||
| ) |
decodes simple types into PHP variables
| string | $value value to decode | |
| string | $type XML type to decode | |
| string | $typens XML type namespace to decode |
| soap_parser::buildVal | ( | $ | pos | ) |
builds response structures for compound values (arrays/structs) and scalars
| integer | $pos position in node tree |
| soap_parser::soap_parser | ( | $ | xml, | |
| $ | encoding = 'UTF-8', |
|||
| $ | method = '', |
|||
| $ | decode_utf8 = true | |||
| ) |
constructor that actually does the parsing
| string | $xml SOAP message | |
| string | $encoding character encoding scheme of message | |
| string | $method method for which XML is parsed (unused?) | |
| string | $decode_utf8 whether to decode UTF-8 to ISO-8859-1 public |
| soap_parser::start_element | ( | $ | parser, | |
| $ | name, | |||
| $ | attrs | |||
| ) |
start-element handler
| resource | $parser XML parser object | |
| string | $name element name | |
| array | $attrs associative array of attributes private |
| soap_parser::end_element | ( | $ | parser, | |
| $ | name | |||
| ) |
end-element handler
| resource | $parser XML parser object | |
| string | $name element name private |
| soap_parser::character_data | ( | $ | parser, | |
| $ | data | |||
| ) |
element content handler
| resource | $parser XML parser object | |
| string | $data element content private |
| soap_parser::get_response | ( | ) |
get the parsed message
| soap_parser::getHeaders | ( | ) |
get the parsed headers
| soap_parser::decodeSimple | ( | $ | value, | |
| $ | type, | |||
| $ | typens | |||
| ) |
decodes simple types into PHP variables
| string | $value value to decode | |
| string | $type XML type to decode | |
| string | $typens XML type namespace to decode |
| soap_parser::buildVal | ( | $ | pos | ) |
builds response structures for compound values (arrays/structs) and scalars
| integer | $pos position in node tree |
1.5.1