Index()
addSpecialUmlauts()
checkCmsType()
createKeywords()
deleteKeywords()
getKeywords()
removeSpecialChars()
saveKeywords()
setCmsOptions()
setContentTypes()
setDebug()
setStopwords()
start()
__construct()
_debug()
$cms_options
$cms_type
$cms_type_suffix
$keycode
$keywords
$keywords_del
$keywords_old
$place
$stopwords
$bDebug
$cfg
$client
$lang
$oDB
Abstract base search class. Provides general properties and functions for child implementations.
| author | Murat Purc |
|---|
addSpecialUmlauts(\$key $key) : \$key
| modified | 2008-04-17, Timo Trautmann - reverse function to removeSpecialChars (important for syntaxhighlighting searchterm in searchresults) adds umlauts to search term |
|---|
\$keyKeyword
\$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
getKeywords() : void
removeSpecialChars(\$key $key) : \$key
\$keyKeyword
\$keysaveKeywords() : void
setCmsOptions($cms_options) : void
none
setContentTypes() : void
setDebug(bool $bDebug)
| inherited_from | \SearchBaseAbstract::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.
__construct(\DB_Contenido $oDB, bool $bDebug)
| inherited_from | \SearchBaseAbstract::__construct() |
|---|
boolOptional, flag to enable debugging
_debug(string $msg, mixed $var)
| inherited_from | \SearchBaseAbstract::_debug() |
|---|
stringSome text
mixedThe variable to dump
$cms_type : 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.
$cms_type_suffix : array
$keycode : array
$keywords : array
$keywords_del : array
$keywords_old : 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 | \SearchBaseAbstract::$$bDebug |
|---|
$cfg : array
| inherited_from | \SearchBaseAbstract::$$cfg |
|---|
$client : int
| inherited_from | \SearchBaseAbstract::$$client |
|---|
$lang : int
| inherited_from | \SearchBaseAbstract::$$lang |
|---|