VisibleSchemaFieldsCollector
Read onlyYes
Class that provides record type dependant fields, visible for the current user, taking language context into account
Table of Contents
Methods
- __construct() : mixed
- getFieldNames() : array<string|int, string>
- getFields() : FieldCollection
- getBackendUser() : BackendUserAuthentication
Methods
__construct()
public
__construct(TcaSchemaFactory $schemaFactory, RecordFactory $recordFactory) : mixed
Parameters
- $schemaFactory : TcaSchemaFactory
- $recordFactory : RecordFactory
getFieldNames()
public
getFieldNames(string $schemaName, array<string|int, mixed> $row[, array<string|int, mixed> $excludeFieldNames = [] ]) : array<string|int, string>
Parameters
- $schemaName : string
- $row : array<string|int, mixed>
- $excludeFieldNames : array<string|int, mixed> = []
Return values
array<string|int, string>getFields()
public
getFields(string $schemaName, array<string|int, mixed> $row[, array<string|int, mixed> $exlcudeFieldNames = [] ]) : FieldCollection
Parameters
- $schemaName : string
- $row : array<string|int, mixed>
- $exlcudeFieldNames : array<string|int, mixed> = []
Return values
FieldCollectiongetBackendUser()
protected
getBackendUser() : BackendUserAuthentication