Properties

$_connections

$_connections : 

Type

$_connectionsMeta

$_connectionsMeta : 

Type

$_initTable

$_initTable : 

Type

$_configXml

$_configXml : 

Type

$_text

$_text : 

Type

$_dependencies

$_dependencies : 

Type

$_languages

$_languages : 

Type

Methods

__construct()

__construct(\Fuman_Table  $initTable, string|null  $configXmlPath = null) 

Constructor

Parameters

\Fuman_Table $initTable
string|null $configXmlPath

getInitTable()

getInitTable() 

hasConfigXml()

hasConfigXml() : boolean

Has config xml

Returns

boolean

setConfigXml()

setConfigXml(  $configXml) 

Sets config xml

Parameters

$configXml

getSearchableInputTypes()

getSearchableInputTypes(string  $path, \Fuman_Db_Record  $record) : array<mixed,\Fuman_InputType>

Gets a list of searchable input type names

Parameters

string $path
\Fuman_Db_Record $record

Returns

array<mixed,\Fuman_InputType>

setLanguages()

setLanguages(array  $languages) 

Sets languages which should be retrieved

Parameters

array $languages

getLanguages()

getLanguages() : null

Gets the languages which have to be collected (Default Fuman_Table_SearchIndex->getAllContentTranslationLanguages

Returns

null

addText()

addText(string  $text, string|null  $language = null) : void

Add text

Parameters

string $text
string|null $language

getText()

getText(string|null  $language = null) : string

Gets text

Parameters

string|null $language

Returns

string

addInputType()

addInputType(  $currentPath, \Fuman_InputType  $inputType) : boolean

Add input type

Parameters

$currentPath
\Fuman_InputType $inputType

Returns

boolean

addDependency()

addDependency(string  $recordKey) : void

Add dependency (table_unique_name:id) Used to prevent circular calls

Parameters

string $recordKey

containsDependency()

containsDependency(string  $recordKey) : boolean

Does the search content contain the record key

Parameters

string $recordKey

Returns

boolean

getDependencies()

getDependencies(boolean  $includeRoot = false) : string

Returns the dependencies

Parameters

boolean $includeRoot

Returns

string

getConnections()

getConnections() : array

Gets connections

Returns

array