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