summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2013-01-30 09:49:40 +0000
committerjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2013-01-30 09:49:40 +0000
commita47b6db224000769044587ae4a42388d5df3d4c3 (patch)
tree94b22daae79703851e746063d00c57eb4a67f178
parent6e07d2674cd46e5170fa88f06a1fec85a2524e4c (diff)
downloadphp-ssrs-a47b6db224000769044587ae4a42388d5df3d4c3.zip
php-ssrs-a47b6db224000769044587ae4a42388d5df3d4c3.tar.gz
php-ssrs-a47b6db224000769044587ae4a42388d5df3d4c3.tar.bz2
added pagination to reports
-rwxr-xr-xlibrary/SSRS/Object/ExecutionInfo.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/SSRS/Object/ExecutionInfo.php b/library/SSRS/Object/ExecutionInfo.php
index abb342a..1087e3f 100755
--- a/library/SSRS/Object/ExecutionInfo.php
+++ b/library/SSRS/Object/ExecutionInfo.php
@@ -57,7 +57,7 @@ class SSRS_Object_ExecutionInfo extends SSRS_Object_Abstract {
$parameters[] = $parameter;
}
-
+
$this->data['ReportParameters'] = $parameters;
return $this;
}
@@ -96,4 +96,8 @@ class SSRS_Object_ExecutionInfo extends SSRS_Object_Abstract {
//$this->executionInfo = $this;
}
+ public function getPageCount() {
+ return isset($this->data['NumPages']) ? $this->data['NumPages'] : 1;
+ }
+
} \ No newline at end of file