summaryrefslogtreecommitdiffstats
path: root/samples/LoadReportWithParameters.php
diff options
context:
space:
mode:
authorjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2012-09-25 15:50:03 +0000
committerjaysmith6811@gmail.com <jaysmith6811@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2012-09-25 15:50:03 +0000
commite5402b28c9a3f22030f40a4fa179a3bcf6480b7c (patch)
tree57891e35a4519edf97fbe3a390aef879bb133977 /samples/LoadReportWithParameters.php
parentd5fc5d659d7c6f76b07f781f253b67835f1b1dd1 (diff)
downloadphp-ssrs-e5402b28c9a3f22030f40a4fa179a3bcf6480b7c.zip
php-ssrs-e5402b28c9a3f22030f40a4fa179a3bcf6480b7c.tar.gz
php-ssrs-e5402b28c9a3f22030f40a4fa179a3bcf6480b7c.tar.bz2
Execution info object, getExecutionInfo method
Diffstat (limited to 'samples/LoadReportWithParameters.php')
-rwxr-xr-xsamples/LoadReportWithParameters.php19
1 files changed, 9 insertions, 10 deletions
diff --git a/samples/LoadReportWithParameters.php b/samples/LoadReportWithParameters.php
index 62728b9..a99c582 100755
--- a/samples/LoadReportWithParameters.php
+++ b/samples/LoadReportWithParameters.php
@@ -1,19 +1,18 @@
<?php
-
require('../library/SSRS/Report.php');
-
+include_once('Zend/Debug.php');
$options = array(
- 'username' => 'testing',
- 'password' => 'password'
+ 'username' => 'CaymanUnreg',
+ 'password' => 'Gottex2011'
);
-$ssrs = new SSRS_Report('http://localhost/reportserver/', $options);
-$result = $ssrs->loadReport('/Reports/Reference_Report');
-
+$ssrs = new SSRS_Report('http://212.203.112.85/reportserver/', $options);
+$result = $ssrs->loadReport('/Off Shore/Cayman Weekly Risk');
+Zend_Debug::dump($result);
+//die();
$reportParameters = array(
- 'key1' => 'value1',
- 'key2' => 'value2',
-);
+ 'managedaccount' => '1'
+ );
$parameters = new SSRS_Object_ExecutionParameters($reportParameters);