Cheetah
modules
cheetah
feedback
classes
ChFdbSearchResult.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbTextSearchResult'
);
9
10
class
ChFdbSearchResult
extends
ChWsbTextSearchResult
11
{
12
function
__construct
(
$oModule
=
null
)
13
{
14
$oModule
= !
empty
(
$oModule
) ?
$oModule
:
ChWsbModule::getInstance
(
'ChFdbModule'
);
15
parent::__construct(
$oModule
);
16
17
$this->aCurrent[
'searchFields'
] = array(
'caption'
,
'content'
,
'tags'
);
18
unset($this->aCurrent[
'restriction'
][
'category'
]);
19
}
20
function
getAlterOrder
()
21
{
22
return
array(
'order'
=>
'ORDER BY `date` DESC'
);
23
}
24
}
$oModule
if(! @isAdmin()) $oModule
Definition:
admin.php:25
ChWsbModule\getInstance
static getInstance($sClassName)
Definition:
ChWsbModule.php:89
ChFdbSearchResult\getAlterOrder
getAlterOrder()
Definition:
ChFdbSearchResult.php:20
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChWsbTextSearchResult
Definition:
ChWsbTextSearchResult.php:12
ChFdbSearchResult\__construct
__construct($oModule=null)
Definition:
ChFdbSearchResult.php:12
empty
Attr AllowedRel this is empty
Definition:
Attr.AllowedRel.txt:7
ChFdbSearchResult
Definition:
ChFdbSearchResult.php:11
Generated by
1.8.20