summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Report.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Report.php')
-rwxr-xr-xlibrary/SSRS/Report.php21
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.
*
*/