@@ 6123-6134 (lines=12) @@ | ||
6120 | } |
|
6121 | // NOTE: add error handling here |
|
6122 | // if serializeType returns false, then catch global error and fault |
|
6123 | if ($parametersArrayType === 'arraySimple') { |
|
6124 | $p = array_shift($parameters); |
|
6125 | $this->debug('calling serializeType w/indexed param'); |
|
6126 | $xml .= $this->serializeType($name, $type, $p, $use, $enc_style); |
|
6127 | } elseif (isset($parameters[$name])) { |
|
6128 | $this->debug('calling serializeType w/named param'); |
|
6129 | $xml .= $this->serializeType($name, $type, $parameters[$name], $use, $enc_style); |
|
6130 | } else { |
|
6131 | // TODO: only send nillable |
|
6132 | $this->debug('calling serializeType w/null param'); |
|
6133 | $xml .= $this->serializeType($name, $type, null, $use, $enc_style); |
|
6134 | } |
|
6135 | } |
|
6136 | } else { |
|
6137 | $this->debug('no parameters passed.'); |
|
@@ 6210-6221 (lines=12) @@ | ||
6207 | } |
|
6208 | // NOTE: add error handling here |
|
6209 | // if serializeType returns false, then catch global error and fault |
|
6210 | if ($parametersArrayType === 'arraySimple') { |
|
6211 | $p = array_shift($parameters); |
|
6212 | $this->debug('calling serializeType w/indexed param'); |
|
6213 | $xml .= $this->serializeType($name, $type, $p, $use, $enc_style); |
|
6214 | } elseif (isset($parameters[$name])) { |
|
6215 | $this->debug('calling serializeType w/named param'); |
|
6216 | $xml .= $this->serializeType($name, $type, $parameters[$name], $use, $enc_style); |
|
6217 | } else { |
|
6218 | // TODO: only send nillable |
|
6219 | $this->debug('calling serializeType w/null param'); |
|
6220 | $xml .= $this->serializeType($name, $type, null, $use, $enc_style); |
|
6221 | } |
|
6222 | } |
|
6223 | } else { |
|
6224 | $this->debug('no parameters passed.'); |