@@ 809-814 (lines=6) @@ | ||
806 | $protocol = isset($extraOptions['protocol']) ? $extraOptions['protocol'] : ''; |
|
807 | $encodePhpObjects = isset($extraOptions['encode_php_objs']) ? (bool)$extraOptions['encode_php_objs'] : false; |
|
808 | $decodePhpObjects = isset($extraOptions['decode_php_objs']) ? (bool)$extraOptions['decode_php_objs'] : false; |
|
809 | if (isset($extraOptions['return_on_fault'])) { |
|
810 | $decodeFault = true; |
|
811 | $faultResponse = $extraOptions['return_on_fault']; |
|
812 | } else { |
|
813 | $decodeFault = false; |
|
814 | } |
|
815 | ||
816 | $namespace = '\\PhpXmlRpc\\'; |
|
817 | $reqClass = $namespace . 'Request'; |
|
@@ 898-904 (lines=7) @@ | ||
895 | $decodePhpObjects = isset($extraOptions['decode_php_objs']) ? (bool)$extraOptions['decode_php_objs'] : false; |
|
896 | $clientCopyMode = isset($extraOptions['simple_client_copy']) ? (int)($extraOptions['simple_client_copy']) : 0; |
|
897 | $prefix = isset($extraOptions['prefix']) ? $extraOptions['prefix'] : 'xmlrpc'; |
|
898 | if (isset($extraOptions['return_on_fault'])) { |
|
899 | $decodeFault = true; |
|
900 | $faultResponse = $extraOptions['return_on_fault']; |
|
901 | } else { |
|
902 | $decodeFault = false; |
|
903 | $faultResponse = ''; |
|
904 | } |
|
905 | ||
906 | $namespace = '\\PhpXmlRpc\\'; |
|
907 |