TcaItemsProcessorFunctions
Various items processor functions, mainly used for special select fields in `be_users` and `be_groups`
This class is a hook implementation and is not part of the TYPO3 Core API.
Table of Contents
Properties
Methods
- __construct() : mixed
- populateAvailableCategoryFields() : void
- Populates a list of category fields (with the defined relationships) for the given table
- populateAvailableGroupModules() : void
- populateAvailablePageTypes() : void
- populateAvailableTables() : void
- populateAvailableUserModules() : void
- populateCustomPermissionOptions() : void
- populateExcludeFields() : void
- populateExplicitAuthValues() : void
- getAvailableModules() : array<string|int, mixed>
- Get all available modules for the given context: "user" or "group"
- getGroupedExcludeFields() : array<string|int, mixed>
- Returns an array with the exclude fields as defined in TCA and FlexForms Used for listing the exclude fields in be_groups forms.
- getGroupedExplicitAuthFieldValues() : array<string|int, mixed>
- Returns an array with explicit Allow/Deny fields.
- getLanguageService() : LanguageService
- getRegisteredFlexForms() : array<string|int, mixed>
- Returns FlexForm data structures it finds. Used in select "special" for be_groups to set "exclude" flags for single flex form fields.
Properties
$iconFactory
protected
IconFactory
$iconFactory
$iconRegistry
protected
IconRegistry
$iconRegistry
Methods
__construct()
public
__construct() : mixed
populateAvailableCategoryFields()
Populates a list of category fields (with the defined relationships) for the given table
public
populateAvailableCategoryFields(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateAvailableGroupModules()
public
populateAvailableGroupModules(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateAvailablePageTypes()
public
populateAvailablePageTypes(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateAvailableTables()
public
populateAvailableTables(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateAvailableUserModules()
public
populateAvailableUserModules(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateCustomPermissionOptions()
public
populateCustomPermissionOptions(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateExcludeFields()
public
populateExcludeFields(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateExplicitAuthValues()
public
populateExplicitAuthValues(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
getAvailableModules()
Get all available modules for the given context: "user" or "group"
protected
getAvailableModules(string $context, array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
- $context : string
- $items : array<string|int, mixed>
Return values
array<string|int, mixed>getGroupedExcludeFields()
Returns an array with the exclude fields as defined in TCA and FlexForms Used for listing the exclude fields in be_groups forms.
protected
getGroupedExcludeFields() : array<string|int, mixed>
Return values
array<string|int, mixed> —Array of arrays with excludeFields (fieldName, table:fieldName) from TCA and FlexForms (fieldName, table:extKey;sheetName;fieldName)
getGroupedExplicitAuthFieldValues()
Returns an array with explicit Allow/Deny fields.
protected
getGroupedExplicitAuthFieldValues() : array<string|int, mixed>
Used for listing these field/value pairs in be_groups forms
Return values
array<string|int, mixed> —Array with information from all of $GLOBALS['TCA']
getLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetRegisteredFlexForms()
Returns FlexForm data structures it finds. Used in select "special" for be_groups to set "exclude" flags for single flex form fields.
protected
getRegisteredFlexForms(string $table) : array<string|int, mixed>
This only finds flex forms registered in 'ds' config sections. This does not resolve other sophisticated flex form data structure references.
Parameters
- $table : string
-
Table to handle
Tags
Return values
array<string|int, mixed> —Data structures