Abstract base search class.
Provides general properties and functions for child implementations.
| author | Murat Purc |
|---|
addSpecialUmlauts($key) : \$key
| modified | 2008-04-17, Timo Trautmann - reverse function to removeSpecialChars (important for syntaxhighlighting searchterm in searchresults) adds umlauts to search term |
|---|
Keyword
\$keycheckCmsType($idtype) : \bolean
\boleancreateKeywords() : void
it looks like Array ( [die] => CMS_HTML-1 [inhalte] => CMS_HTML-1 [auf] => CMS_HTML-1 CMS_HTMLHEAD-2 [dieser] => CMS_HTML-1 [website] => CMS_HTML-1 CMS_HTML-1 CMS_HTMLHEAD-2 )
deleteKeywords() : void
getCmsType() : array
arraythe _cmsType propertygetCmsTypeSuffix() : array
arraythe _cmsTypeSuffix propertygetKeywords() : void
removeSpecialChars($key) : \$key
Keyword
\$keysaveKeywords() : void
setCmsOptions($cms_options) : void
setContentTypes() : void
setDebug(bool $bDebug)
| inherited_from | \cSearchBaseAbstract::setDebug() |
|---|
bool
setStopwords(array $aStopwords) : void
array
start(int $idart, array $aContent, string $place, array $cms_options, array $aStopwords) : void
intArticle Id
arrayThe complete content of an article specified by its content types. It looks like Array ( [CMS_HTMLHEAD] => Array ( [1] => Herzlich Willkommen... [2] => ...auf Ihrer Website! ) [CMS_HTML] => Array ( [1] => Die Inhalte auf dieser Website ...
stringThe field where to store the index information in db.
arrayOne can specify explicitly cms types which should not be indexed.
arrayArray with words which should not be indexed.
_debug(string $msg, mixed $var)
| inherited_from | \cSearchBaseAbstract::_debug() |
|---|
stringSome text
mixedThe variable to dump
$_cmsOptions : array
$_cmsType : array
htmlhead - HTML Headline html - HTML Text head - Headline (no HTML) text - Text (no HTML) img - Upload id of the element imgdescr - Image description link - Link (URL) linktarget - Linktarget (_self, _blank, _top ...) linkdescr - Linkdescription swf - Upload id of the element etc.
$_cmsTypeSuffix : array
$_keycode : array
$_keywords : array
$_keywordsDel : array
$_keywordsOld : array
$_place : string
The value is a string like "&12=2(CMS_HTMLHEAD-1,CMS_HTML-1)", which means a keyword occurs 2 times in article with $idart 12 and can be found in CMS_HTMLHEAD[1] and CMS_HTML[1]. The field 'self' can be used in the article properties to index the article manually.
$_stopwords : array
$bDebug : bool
| inherited_from | \cSearchBaseAbstract::$$bDebug |
|---|
$cfg : array
| inherited_from | \cSearchBaseAbstract::$$cfg |
|---|
$client : int
| inherited_from | \cSearchBaseAbstract::$$client |
|---|
$lang : int
| inherited_from | \cSearchBaseAbstract::$$lang |
|---|