Contentserv PHP API

ObjectDatabaseAnalyzerSetting extends _ObjectDatabaseGenericExtendedSetting
in package

Tags

Table of Contents

DEFINITION_FLAGS  = 'flags'
DEFINITION_LOWERCASE  = 'lowercase'
DEFINITION_PATTERN  = 'pattern'
DEFINITION_STOPWORDS  = 'stopwords'
DEFINITION_STOPWORDS_PATH  = 'stopwords_path'
TYPE_CUSTOM  = 9
TYPE_FINTERPRINT  = 8
TYPE_KEYWORD  = 5
TYPE_PATTERN  = 6
TYPE_SIMPLE  = 3
TYPE_STANDARD  = 1
TYPE_STOP  = 4
TYPE_WHITESPACE  = 2
addParameter()  : bool
Adds a parameter for a given key to the tokenizer setting.
getDefinition()  : array<string|int, mixed>
getName()  : string
getParameterForKey()  : mixed|null
Returns a value for the given parameter key.
getParameters()  : array<string|int, ObjectDatabaseParameter>
Returns all added parameter.
getType()  : int|null
removeParameterForKey()  : bool
Removes a parameter for a given key of the tokenizer settings.
setName()  : void
setType()  : void

Constants

Methods

getParameterForKey()

Returns a value for the given parameter key.

public getParameterForKey(string $sKey) : mixed|null

The method returns null if no value has been found for the given key.

Parameters
$sKey : string
Tags
Return values
mixed|null

removeParameterForKey()

Removes a parameter for a given key of the tokenizer settings.

public removeParameterForKey(string $sKey) : bool

If the parameter does not exist the method returns false, otherwise true.

Parameters
$sKey : string
Tags
Return values
bool

        

Search results