SearchableSchemaFieldsCollector

Read onlyYes

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

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
getFieldNames()  : array<string|int, 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()  : array<string|int, string>

Methods

getFieldNames()

public getFieldNames(string $schemaName[, array<string|int, mixed> $searchFields = [] ]) : array<string|int, string>
Parameters
$schemaName : string
$searchFields : array<string|int, mixed> = []
Return values
array<string|int, string>

getFields()

public getFields(string $schemaName[, array<string|int, mixed> $searchFields = [] ]) : FieldCollection
Parameters
$schemaName : string
$searchFields : array<string|int, mixed> = []
Return values
FieldCollection

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
Internal

only to be used in TYPO3 Core

Return values
array{0: string, 1: array>}

getUniqueFieldList()

public getUniqueFieldList(string $schemaName, array<string|int, mixed> $existingFieldList, bool $includeSpecialFields) : array<string|int, string>
Parameters
$schemaName : string
$existingFieldList : array<string|int, mixed>
$includeSpecialFields : bool
Return values
array<string|int, string>

        
On this page

Search results