Lines Matching refs:message

31 	var $message = array();  variable in nusoap_parser
117 $this->soapresponse = $this->message[$this->root_struct]['result'];
119 if($this->root_header != '' && isset($this->message[$this->root_header]['result'])){
120 $this->soapheader = $this->message[$this->root_header]['result'];
157 $this->message[$pos] = array('pos' => $pos,'children'=>'','cdata'=>'');
160 $this->message[$pos]['depth'] = $this->depth++;
164 $this->message[$this->parent]['children'] .= '|'.$pos;
167 $this->message[$pos]['parent'] = $this->parent;
193 $this->message[$pos]['type'] = 'struct';
197 $this->message[$pos]['status'] = $this->status;
199 $this->message[$pos]['name'] = htmlspecialchars($name);
201 $this->message[$pos]['attrs'] = $attrs;
222 if (isset($this->message[$pos]['type']) && $this->message[$pos]['type'] == 'array') {
227 $this->message[$pos]['type'] = $value_localpart;
228 $this->message[$pos]['typePrefix'] = $value_prefix;
230 $this->message[$pos]['type_namespace'] = $this->namespaces[$value_prefix];
232 $this->message[$pos]['type_namespace'] = $attrs['xmlns:'.$value_prefix];
237 $this->message[$pos]['type'] = 'array';
248 $this->message[$pos]['typePrefix'] = $regs[1];
249 $this->message[$pos]['arrayTypePrefix'] = $regs[1];
251 $this->message[$pos]['arrayTypeNamespace'] = $this->namespaces[$regs[1]];
253 $this->message[$pos]['arrayTypeNamespace'] = $attrs['xmlns:'.$regs[1]];
255 $this->message[$pos]['arrayType'] = $regs[2];
256 $this->message[$pos]['arraySize'] = $regs[3];
257 $this->message[$pos]['arrayCols'] = $regs[4];
261 $this->message[$pos]['nil'] = ($value == 'true' || $value == '1');
264 $this->message[$pos]['xattrs']['!' . $key] = $value;
286 $this->message[$pos]['namespace'] = $this->namespaces[$prefix];
289 $this->message[$pos]['namespace'] = $this->default_namespace;
322 if(isset($this->message[$pos]['attrs']['href'])){
324 $id = substr($this->message[$pos]['attrs']['href'],1);
328 $this->message[$pos]['result'] =& $this->multirefs[$id][$pos];
330 } elseif($this->message[$pos]['children'] != ''){
332 if(!isset($this->message[$pos]['result'])){
333 $this->message[$pos]['result'] = $this->buildVal($pos);
336 } elseif (isset($this->message[$pos]['xattrs'])) {
337 if (isset($this->message[$pos]['nil']) && $this->message[$pos]['nil']) {
338 $this->message[$pos]['xattrs']['!'] = null;
339 } elseif (isset($this->message[$pos]['cdata']) && trim($this->message[$pos]['cdata']) != '') {
340 if (isset($this->message[$pos]['type'])) {
341message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$…
343 $parent = $this->message[$pos]['parent'];
344 …if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] == 'array') && isse…
345message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$…
347 $this->message[$pos]['xattrs']['!'] = $this->message[$pos]['cdata'];
351 $this->message[$pos]['result'] = $this->message[$pos]['xattrs'];
355 if (isset($this->message[$pos]['nil']) && $this->message[$pos]['nil']) {
356 $this->message[$pos]['xattrs']['!'] = null;
357 } elseif (isset($this->message[$pos]['type'])) {
358message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos][…
360 $parent = $this->message[$pos]['parent'];
361 …if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] == 'array') && isse…
362message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$paren…
364 $this->message[$pos]['result'] = $this->message[$pos]['cdata'];
392 $this->root_struct_namespace = $this->message[$pos]['namespace'];
401 $this->parent = $this->message[$pos]['parent'];
421 $this->message[$pos]['cdata'] .= $data;
525 if(!isset($this->message[$pos]['type'])){
526 $this->message[$pos]['type'] = '';
528 …$this->debug('in buildVal() for '.$this->message[$pos]['name']."(pos $pos) of type ".$this->messag…
530 if($this->message[$pos]['children'] != ''){
532 $children = explode('|',$this->message[$pos]['children']);
535 if(isset($this->message[$pos]['arrayCols']) && $this->message[$pos]['arrayCols'] != ''){
540 $params[$r][] = $this->message[$child_pos]['result'];
542 if($c == $this->message[$pos]['arrayCols']){
548 } elseif($this->message[$pos]['type'] == 'array' || $this->message[$pos]['type'] == 'Array'){
549 $this->debug('in buildVal, adding array '.$this->message[$pos]['name']);
551 $params[] = &$this->message[$child_pos]['result'];
554 …} elseif($this->message[$pos]['type'] == 'Map' && $this->message[$pos]['type_namespace'] == 'http:…
573 $params[] = &$this->message[$child_pos]['result'];
575 if (isset($params[$this->message[$child_pos]['name']])) {
577 …if ((!is_array($params[$this->message[$child_pos]['name']])) || (!isset($params[$this->message[$ch…
578 … $params[$this->message[$child_pos]['name']] = array($params[$this->message[$child_pos]['name']]);
580 … $params[$this->message[$child_pos]['name']][] = &$this->message[$child_pos]['result'];
582 $params[$this->message[$child_pos]['name']] = &$this->message[$child_pos]['result'];
587 if (isset($this->message[$pos]['xattrs'])) {
589 foreach ($this->message[$pos]['xattrs'] as $n => $v) {
594 if (isset($this->message[$pos]['cdata']) && trim($this->message[$pos]['cdata']) != '') {
596 if (isset($this->message[$pos]['type'])) {
597 …codeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]…
599 $parent = $this->message[$pos]['parent'];
600 …if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] == 'array') && isse…
601 …ple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], isset($this->message[$par…
603 $params['!'] = $this->message[$pos]['cdata'];
613 $cdata = isset($this->message[$pos]['cdata']) ? $this->message[$pos]['cdata'] : '';
614 if (isset($this->message[$pos]['type'])) {
615 …this->decodeSimple($cdata, $this->message[$pos]['type'], isset($this->message[$pos]['type_namespac…
619 $parent = $this->message[$pos]['parent'];
620 …if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] == 'array') && isse…
621 …codeSimple($cdata, $this->message[$parent]['arrayType'], isset($this->message[$parent]['arrayTypeN…
625 $ret = $this->message[$pos]['cdata'];