-
Notifications
You must be signed in to change notification settings - Fork 623
Expand file tree
/
Copy pathcustom_reports.cfg.php.example
More file actions
39 lines (38 loc) · 1.04 KB
/
custom_reports.cfg.php.example
File metadata and controls
39 lines (38 loc) · 1.04 KB
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
34
35
36
37
38
39
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* This script is distributed under the GNU General Public License 2 or later.
*
*
*/
/*
add on example
list($myPath) = get_included_files();
$bub = explode('/lib/',$myPath);
if( count($bub) == 1 ) {
$bub = explode('/addon/',$myPath);
}
if( count($bub) == 1 ) {
$php = basename($myPath);
$bub = explode($php,$myPath);
}
$base = $bub[0];
require($base . '/addon/emailReports/config/reports.cfg.php');
*/
/**
* @VAR $tlCfg->reports_list['report_identifier']
* definition of default set of reports
* title - title string identifier
* url - http path (without testPlanId and format)
* enabled - availability
* 1. all (everytime),
* 2. bts (if bug tracker is connected only),
* 3. req (if project has available requirements only)
*/
// $tlCfg->reports_list['MY_REPORT'] = array(
// 'title' => 'link_MY_REPORT',
// 'url' => 'lib/results/fileThatImplementsMYREPORTLogics.php',
// 'enabled' => 'all',
// 'format' => 'format_xls' >>>> See cfg/reports.cfg.php
// );
?>