Cheetah
flash
modules
video_comments
inc
classes
ChWsbVideoDeleteResponse.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbAlerts'
);
9
10
global
$sModule
;
11
$sModule
=
"video_comments"
;
12
13
global
$sIncPath
;
14
global
$sModulesPath
;
15
16
require_once(
$sIncPath
.
"constants.inc.php"
);
17
require_once(
$sIncPath
.
"db.inc.php"
);
18
require_once(
$sIncPath
.
"xml.inc.php"
);
19
require_once(
$sIncPath
.
"functions.inc.php"
);
20
require_once(
$sIncPath
.
"apiFunctions.inc.php"
);
21
require_once(
$sIncPath
.
"customFunctions.inc.php"
);
22
23
global
$sFilesPath
;
24
$sModuleIncPath
=
$sModulesPath
.
$sModule
.
"/inc/"
;
25
require_once(
$sModuleIncPath
.
"header.inc.php"
);
26
require_once(
$sModuleIncPath
.
"constants.inc.php"
);
27
require_once(
$sModuleIncPath
.
"functions.inc.php"
);
28
require_once(
$sModuleIncPath
.
"customFunctions.inc.php"
);
29
30
class
ChWsbVideoDeleteResponse
extends
ChWsbAlertsResponse
31
{
32
function
response
(
$oAlert
)
33
{
34
global
$sFilesPath
;
35
global
$sModule
;
36
37
if
(
$oAlert
->sAction ==
"commentRemoved"
)
38
deleteFileByCommentId
(
$oAlert
->aExtras[
'comment_id'
]);
39
}
40
}
ChWsbAlertsResponse
Definition:
ChWsbAlerts.php:127
ChWsbVideoDeleteResponse
Definition:
ChWsbVideoDeleteResponse.php:31
ChWsbVideoDeleteResponse\response
response($oAlert)
Definition:
ChWsbVideoDeleteResponse.php:32
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
$oAlert
$oAlert
Definition:
embed.php:15
php
$sFilesPath
global $sFilesPath
Definition:
ChWsbVideoDeleteResponse.php:16
$sModuleIncPath
$sModuleIncPath
Definition:
ChWsbVideoDeleteResponse.php:24
$sIncPath
global $sIncPath
Definition:
ChWsbVideoDeleteResponse.php:13
global
if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE" global
Definition:
header.inc.php:25
$sModulesPath
global $sModulesPath
Definition:
ChWsbVideoDeleteResponse.php:14
deleteFileByCommentId
deleteFileByCommentId($iCommentId)
Definition:
customFunctions.inc.php:54
$sModule
global $sModule
Definition:
ChWsbVideoDeleteResponse.php:10
Generated by
1.8.20