blob: 5b3bf91ce3955bfb62ab4d911324817194e3a36c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
require('../library/SSRS/Report.php');
$options = array(
'username' => 'testing',
'password' => 'password'
);
$ssrs = new SSRS_Report('http://localhost/reportserver/', $options);
$results = $ssrs->listRenderingExtensions();
echo '<table border="1" width="100%">';
echo '<tr>';
echo '<th>ExtensionType</th>';
echo '<th>Name</th>';
echo '<th>LocalisedName</th>';
echo '<th>Visible</th>';
echo '<th>IsModelGenerationSupported</th>';
echo '</tr>';
foreach ($results->Extensions->Extension as $extension) {
$extension->Visible = (empty($extension->Visible)) ? "Null" : $extension->Visible;
$extension->IsModelGenerationSupported = (empty($extension->IsModelGenerationSupported)) ? "Null" : $extension->IsModelGenerationSupported;
echo '<tr>';
echo '<td>' . $extension->ExtensionType . '</td>';
echo '<td>' . $extension->Name . '</td>';
echo '<td>' . $extension->LocalizedName . '</td>';
echo '<td>' . $extension->Visible . '</td>';
echo '<td>' . $extension->IsModelGenerationSupported . '</td>';
echo '</tr>';
}
echo '</table>';
|