Definition at line 7 of file custom_report_manager.inc.
◆ createManager()
static CustomReportManager::createManager |
( |
|
$target | ) |
|
|
static |
◆ getManagerClass()
static CustomReportManager::getManagerClass |
( |
|
$target | ) |
|
|
static |
Definition at line 22 of file custom_report_manager.inc.
25 $record = CustomReportManager::$managerClassMap[
$target];
26 return ($record) ? $record[
"class"] :
null;
static registerManagerClasses()
◆ getManagerDescription()
static CustomReportManager::getManagerDescription |
( |
|
$target | ) |
|
|
static |
Definition at line 29 of file custom_report_manager.inc.
32 $record = CustomReportManager::$managerClassMap[
$target];
33 return ($record) ? $record[
"description"] :
null;
◆ getTarget()
static CustomReportManager::getTarget |
( |
|
$manager | ) |
|
|
static |
Definition at line 52 of file custom_report_manager.inc.
55 if (!count(CustomReportManager::$managerClassMap))
return "";
57 $cl = get_class($manager);
58 foreach(CustomReportManager::$managerClassMap as
$target => $record)
◆ getTargets()
static CustomReportManager::getTargets |
( |
| ) |
|
|
static |
Definition at line 42 of file custom_report_manager.inc.
45 if (!count(CustomReportManager::$managerClassMap))
return null;
47 $targets = array_keys(CustomReportManager::$managerClassMap);
◆ registerManagerClass()
static CustomReportManager::registerManagerClass |
( |
|
$target, |
|
|
|
$managerClass, |
|
|
|
$description = "" |
|
) |
| |
|
static |
Definition at line 11 of file custom_report_manager.inc.
13 CustomReportManager::$managerClassMap[
$target] = array(
"class" => $managerClass,
"description" => $description);
◆ registerManagerClasses()
static CustomReportManager::registerManagerClasses |
( |
| ) |
|
|
static |
Definition at line 16 of file custom_report_manager.inc.
18 if (is_array(CustomReportManager::$managerClassMap))
return;
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
The documentation for this class was generated from the following file: