Cheetah
modules
cheetah
profiler
classes
ChProfilerDb.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbModuleDb'
);
9
10
/*
11
* Profiler module data
12
*/
13
class
ChProfilerDb
extends
ChWsbModuleDb
14
{
15
var
$_oConfig
;
16
17
function
__construct
(&$oConfig)
18
{
19
parent::__construct();
20
$this->_oConfig = $oConfig;
21
}
22
23
function
getSettingsCategory
()
24
{
25
return
$this->
getOne
(
"SELECT `ID` FROM `sys_options_cats` WHERE `name` = 'Profiler' LIMIT 1"
);
26
}
27
}
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChWsbModuleDb
Definition:
ChWsbModuleDb.php:12
ChProfilerDb
Definition:
ChProfilerDb.php:14
ChProfilerDb\getSettingsCategory
getSettingsCategory()
Definition:
ChProfilerDb.php:23
ChProfilerDb\$_oConfig
$_oConfig
Definition:
ChProfilerDb.php:15
ChWsbDb\getOne
getOne($sQuery, $aBindings=[], $iIndex=0)
Definition:
ChWsbDb.php:263
ChProfilerDb\__construct
__construct(&$oConfig)
Definition:
ChProfilerDb.php:17
Generated by
1.8.20