VisibleSchemaFieldsCollector

readonly class \TYPO3\CMS\Core\Schema\VisibleSchemaFieldsCollector

Class that provides record type dependant fields, visible for the current user, taking language context into account

Table of Contents

Methods

__construct()  : mixed
getFieldNames()  : string[]
getFields()  : FieldCollection
getBackendUser()  : BackendUserAuthentication

Methods

getFieldNames()

public getFieldNames(string $schemaName, array $row[, array $excludeFieldNames = [] ][, string|null $recordType = null ]) : string[]

Parameters

$schemaName : string
$row : array
$excludeFieldNames : array = []
$recordType : string|null = null

Return values

string[]

getFields()

public getFields(string $schemaName, array $row[, array $exlcudeFieldNames = [] ][, string|null $recordType = null ]) : FieldCollection

Parameters

$schemaName : string
$row : array
$exlcudeFieldNames : array = []
$recordType : string|null = null

Record type to use instead of the one resolved from $row, e.g. for schemas whose type is defined by a field of a related record ("file:type")

Return values

FieldCollection
On this page