| [ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 599 lignes (24 kb) |
| Inclus ou requis: | 2 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
soap_parser:: (8 méthodes):
soap_parser()
start_element()
end_element()
character_data()
get_response()
getHeaders()
decodeSimple()
buildVal()
Classe: soap_parser - X-Ref
soap_parser class parses SOAP XML messages into native PHP values| soap_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 |
| Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |