VisibleSchemaFieldsCollector
readonly class \
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
__construct()
public
__construct(TcaSchemaFactory $schemaFactory, RecordFactory $recordFactory) : mixed
Parameters
- $schemaFactory : TcaSchemaFactory
- $recordFactory : RecordFactory
getFieldNames()
public
getFieldNames(string $schemaName, array $row[, array $excludeFieldNames = [] ]) : string[]
Parameters
- $schemaName : string
- $row : array
- $excludeFieldNames : array = []
Return values
string[]getFields()
public
getFields(string $schemaName, array $row[, array $exlcudeFieldNames = [] ]) : FieldCollection
Parameters
- $schemaName : string
- $row : array
- $exlcudeFieldNames : array = []
Return values
FieldCollectiongetBackendUser()
protected
getBackendUser() : BackendUserAuthentication