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