diff options
author | SmokeyBrandie <mail@rogerbucher.ch> | 2015-05-13 13:19:14 +0200 |
---|---|---|
committer | SmokeyBrandie <mail@rogerbucher.ch> | 2015-05-13 13:19:14 +0200 |
commit | 97b709b9928f47b346def5a447d56069454aba20 (patch) | |
tree | fdc3d52bbf457f77ebdbcb2d30f9d8a346e39c19 /library/SSRS/Report.php | |
parent | cd410f6a2305a2b025ab50e3c172dc36bb8c38ec (diff) | |
download | php-ssrs-97b709b9928f47b346def5a447d56069454aba20.zip php-ssrs-97b709b9928f47b346def5a447d56069454aba20.tar.gz php-ssrs-97b709b9928f47b346def5a447d56069454aba20.tar.bz2 |
Update Report.php
Add additional Curl options
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-x | library/SSRS/Report.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php index 8129b23..d888473 100755 --- a/library/SSRS/Report.php +++ b/library/SSRS/Report.php @@ -63,7 +63,8 @@ class Report { public function setOptions(array $options) { $defaults = array( - 'cache_wsdl_path' => null + 'cache_wsdl_path' => null, + 'curl_options' => null, ); $this->options = array_merge($defaults, $options); @@ -456,7 +457,8 @@ class Report { $options = array( 'username' => $this->_username, 'password' => $this->_passwd, - 'cache_wsdl_path' => $this->options['cache_wsdl_path'] + 'cache_wsdl_path' => $this->options['cache_wsdl_path'], + 'curl_options' => $this->options['curl_options'], ); $client = new SoapNTLM($this->_baseUri . '/' . $path, $options); |