diff options
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-x | library/SSRS/Report.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php index 52c7396..e6220da 100755 --- a/library/SSRS/Report.php +++ b/library/SSRS/Report.php @@ -47,7 +47,7 @@ class SSRS_Report { * @param array $options */ public function __construct($baseUri, $options = array()) { - $this->_baseUri = rtrim($baseUri, '/'); + $this->setBaseUri($baseUri); if (array_key_exists('username', $options)) { $this->setUsername($options['username']); @@ -58,6 +58,14 @@ class SSRS_Report { } } + public function setBaseUri($uri) { + $this->_baseUri = rtrim($uri, '/'); + } + + public function getBaseUri() { + return $this->_baseUri; + } + /** * Sets the Soap client class with the Execution Uri so that the connection to the web service can be made. * Should be the custom SOAP NTLM class to bypass NTLM security. |