summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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