SearchableSchemaFieldsCollector

readonly class \TYPO3\CMS\Core\Schema\SearchableSchemaFieldsCollector

Class that accesses the TCA[table][searchFields] via TcaSchema factory

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
getFieldNames()  : string[]
getFields()  : FieldCollection
getSchemaFieldSubSchemaTypes()  : array{0: string, 1: array>}
Returns table subschema divisor field name and a list of fields not included in all subSchemas along with the list of subSchemas they are included.
getUniqueFieldList()  : string[]

Methods

getFieldNames()

public getFieldNames(string $schemaName[, array $searchFields = [] ]) : string[]

Parameters

$schemaName : string
$searchFields : array = []

Return values

string[]

getSchemaFieldSubSchemaTypes()

Returns table subschema divisor field name and a list of fields not included in all subSchemas along with the list of subSchemas they are included.

public getSchemaFieldSubSchemaTypes(string $tableName) : array{0: string, 1: array>}

Parameters

$tableName : string

Return values

array{0: string, 1: array>}

getUniqueFieldList()

public getUniqueFieldList(string $schemaName, array $existingFieldList, bool $includeSpecialFields) : string[]

Parameters

$schemaName : string
$existingFieldList : array
$includeSpecialFields : bool

Return values

string[]
On this page