CMS  Version 3.9
select_report_target.inc
Go to the documentation of this file.
1 <?php
2 Fakoli::using("report_manager");
3 
5 if (count($targets) == 0)
6 {
7  Fakoli::end("No Custom Reports have been registered");
8 }
9 
10 ?>
11 <p>Please specify the type of data you wish to generate a report for.</p>
12 <p>
13 <?
14 foreach($targets as $target)
15 {
16  $obj = new $target;
17  echo "<input type='radio' name='target_type' value='{$target}'> ".$obj->prettifyClassName(true)."<br>";
18 }
19 ?>
20 </p>
21 <a class='button' href='#' onclick='ReportManager.createReportSelect(); return false;'>Create Report</a>
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition: core.inc:1149
$forumRequest to