diff options
author | arron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2012-11-30 18:05:09 +0000 |
---|---|---|
committer | arron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2012-11-30 18:05:09 +0000 |
commit | cec036b95562fe996d94a3432bec8b0d837caa1d (patch) | |
tree | ce8b68f3d43e38a70c14ec01bc4881c2e9f875da /library/SSRS/Report.php | |
parent | def3e414e37a22e3fc09a0a6b31d609ee6878df9 (diff) | |
download | php-ssrs-cec036b95562fe996d94a3432bec8b0d837caa1d.zip php-ssrs-cec036b95562fe996d94a3432bec8b0d837caa1d.tar.gz php-ssrs-cec036b95562fe996d94a3432bec8b0d837caa1d.tar.bz2 |
RenderResource
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-x | library/SSRS/Report.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/library/SSRS/Report.php b/library/SSRS/Report.php index 6b05ed4..4c6a8f9 100755 --- a/library/SSRS/Report.php +++ b/library/SSRS/Report.php @@ -354,6 +354,27 @@ class SSRS_Report { } /** + * + * @param string $format + * @param string $streamId + * @param array $deviceInfo + * @return \SSRS_Object_RenderStream + */ + public function getRenderResource($format, $deviceInfo = array()) { + $this->checkSessionId(); + + $deviceInfo = array('DeviceInfo' => $deviceInfo); + + $renderParams = array( + 'Format' => (string) $format, + 'DeviceInfo' => $this->renderDeviceInfo($deviceInfo), + ); + + $result = $this->getSoapExecution()->GetRenderResource($renderParams); + return new SSRS_Object_RenderStream($result); + } + + /** * Checks if there is a valid Session ID set. * */ |