summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Object/ExecutionInfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Object/ExecutionInfo.php')
-rwxr-xr-xlibrary/SSRS/Object/ExecutionInfo.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/library/SSRS/Object/ExecutionInfo.php b/library/SSRS/Object/ExecutionInfo.php
index a2a2332..31dc9d4 100755
--- a/library/SSRS/Object/ExecutionInfo.php
+++ b/library/SSRS/Object/ExecutionInfo.php
@@ -49,4 +49,15 @@ class SSRS_Object_ExecutionInfo extends SSRS_Object_Abstract {
return $this->data['ReportParameters'];
}
+ public function getReportParameter($name) {
+ $parameters = $this->getReportParameters();
+ foreach ($parameters AS $parameter) {
+ if ($parameter->name === $name) {
+ return $parameter;
+ }
+ }
+
+ return null;
+ }
+
}