CMS
Version 3.9
custom_reports.inc
Go to the documentation of this file.
1
<?php
2
Fakoli::using
(
"report"
,
"text_lookup"
);
3
4
$page
->page_title =
"Custom Reports"
;
5
6
$common
=
new
CustomReportListView
(
"Most Commonly Used Reports"
,
"common_reports"
,
"shared = 1"
, 2);
7
$myReports
=
new
CustomReportListView
(
"My Reports"
,
"my_reports"
,
"user_id={$user->user_id}"
, 4);
8
9
$script
.=
$common
->writeScript();
10
$script
.=
$myReports
->writeScript();
11
12
echo
TextLookup::getText
(
"custom_reports_intro"
);
13
14
$common
->drawView();
15
$myReports
->drawView();
16
17
?>
18
<p><a
class
=
'button'
href=
'#'
onclick=
'ReportManager.createReportDialog();return false;'
><i
class
=
'fas fa-plus'
></i> Create a New Report</a></p>
$common
$common
Definition:
custom_reports.inc:6
$myReports
$myReports
Definition:
custom_reports.inc:7
$script
$script
Definition:
custom_reports.inc:9
$page
$page
Definition:
help.inc:39
CustomReportListView
Definition:
custom_report_list_view.inc:10
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
TextLookup\getText
static getText($code, $obj=null, $blank=false)
Retrieves text for display on a page, given the code.
Definition:
text_lookup.inc:85
code
cms.sonjara.com
cms
components
report_manager
admin
custom_reports.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1