summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Report.php
diff options
context:
space:
mode:
authorarron.woods <arron.woods@deae1e92-32f9-c189-e222-5b9b5081a27a>2011-05-19 11:50:12 +0000
committerarron.woods <arron.woods@deae1e92-32f9-c189-e222-5b9b5081a27a>2011-05-19 11:50:12 +0000
commit3c48293ff2a103591d1c2d97fba56cf7ff39d0dc (patch)
treef7976d2d7d1f4aeeb2ffeb5b6394785e0d6745e2 /library/SSRS/Report.php
parente2df384496c7a833869178be7cc088c8768a6320 (diff)
downloadphp-ssrs-3c48293ff2a103591d1c2d97fba56cf7ff39d0dc.zip
php-ssrs-3c48293ff2a103591d1c2d97fba56cf7ff39d0dc.tar.gz
php-ssrs-3c48293ff2a103591d1c2d97fba56cf7ff39d0dc.tar.bz2
Tagged 0.1.30.1.3
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-xlibrary/SSRS/Report.php10
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.