Cheetah
inc
classes
ChWsbAlertsResponseSystem.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbAlerts'
);
9
10
class
ChWsbAlertsResponseSystem
extends
ChWsbAlertsResponse
11
{
12
function
__construct
()
13
{
14
parent::__construct();
15
}
16
17
function
response
(
$oAlert
)
18
{
19
$sMethodName =
'_process'
. ucfirst(
$oAlert
->sUnit) . str_replace(
' '
,
''
, ucwords(str_replace(
'_'
,
' '
,
$oAlert
->sAction)));
20
if
(method_exists($this, $sMethodName))
21
$this->$sMethodName(
$oAlert
);
22
}
23
24
function
_processSystemBegin
(
$oAlert
) {}
25
}
ChWsbAlertsResponse
Definition:
ChWsbAlerts.php:127
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
$oAlert
$oAlert
Definition:
embed.php:15
php
ChWsbAlertsResponseSystem\response
response($oAlert)
Definition:
ChWsbAlertsResponseSystem.php:17
ChWsbAlertsResponseSystem\__construct
__construct()
Definition:
ChWsbAlertsResponseSystem.php:12
ChWsbAlertsResponseSystem\_processSystemBegin
_processSystemBegin($oAlert)
Definition:
ChWsbAlertsResponseSystem.php:24
ChWsbAlertsResponseSystem
Definition:
ChWsbAlertsResponseSystem.php:11
Generated by
1.8.20