summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2012-11-30 15:43:47 +0000
committerjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2012-11-30 15:43:47 +0000
commitdef3e414e37a22e3fc09a0a6b31d609ee6878df9 (patch)
treed1ba4c27a19600766b4dc213d8805821e78d7090
parent28ba6f821695d4b462be79f5618a26ea20419cb0 (diff)
downloadphp-ssrs-def3e414e37a22e3fc09a0a6b31d609ee6878df9.zip
php-ssrs-def3e414e37a22e3fc09a0a6b31d609ee6878df9.tar.gz
php-ssrs-def3e414e37a22e3fc09a0a6b31d609ee6878df9.tar.bz2
added sort and toggle
-rw-r--r--library/SSRS/Object/ReportParameter/ValidValue.php4
-rwxr-xr-xlibrary/SSRS/Report.php21
2 files changed, 25 insertions, 0 deletions
diff --git a/library/SSRS/Object/ReportParameter/ValidValue.php b/library/SSRS/Object/ReportParameter/ValidValue.php
index adb11ca..b75b07e 100644
--- a/library/SSRS/Object/ReportParameter/ValidValue.php
+++ b/library/SSRS/Object/ReportParameter/ValidValue.php
@@ -13,4 +13,8 @@ class SSRS_Object_ReportParameter_ValidValue {
$this->Label = $label;
}
+ public function __toString() {
+ return $this->Value;
+ }
+
} \ No newline at end of file
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php
index e517880..6b05ed4 100755
--- a/library/SSRS/Report.php
+++ b/library/SSRS/Report.php
@@ -243,6 +243,27 @@ class SSRS_Report {
}
/**
+ *
+ * @param type $toggleId
+ * @return type
+ */
+ public function toggleItem($toggleId) {
+ $params = array(
+ 'ToggleID' => $toggleId
+ );
+ return $this->getSoapExecution()->ToggleItem($params);
+ }
+
+ public function sort($sortId, $direction, $clear) {
+ $params = array(
+ 'SortItem' => $sortId,
+ 'Direction' => $direction,
+ 'Clear' => $clear,
+ );
+ return $this->getSoapExecution()->Sort($params);
+ }
+
+ /**
* Loads all details relating to a report including all available search parameters
*
* @param string $Report