FormDataProvider
Table of Contents
Classes
- AbstractDatabaseRecordProvider
- Extended by other provider that fetch records from database
- AbstractItemProvider
- Contains methods used by Data providers that handle elements
with single items like select, radio and some more.
- DatabaseDefaultLanguagePageRow
- Fetch page in default language from database if it's a translated pages record
- DatabaseEditRow
- Fetch existing database row on edit
- DatabaseEffectivePid
- Set effective pid we're working on
- DatabaseLanguageRows
- Add language related data to result array
- DatabasePageLanguageOverlayRows
- Fill the "pageLanguageOverlayRows" part of the result array
- DatabasePageRootline
- Set rootline
- DatabaseParentPageRow
- Fetch parent page row from database if possible
- DatabaseRecordOverrideValues
- Determine the final TCA type value
- DatabaseRecordTypeValue
- Determine the final TCA type value
- DatabaseRowDateTimeFields
- Migrate type=datetime field values to \DateTimeImmutable
- DatabaseRowDefaultAsReadonly
- Special data provider for replacing a database field with the value of
the default record in case "l10n_display" is set to "defaultAsReadonly".
- DatabaseRowDefaultValues
- Handle TCA default values on row. This affects existing rows as well as new rows.
- DatabaseRowInitializeNew
- On "new" command, initialize new database row with default data
- DatabaseSystemLanguageRows
- Fill the "systemLanguageRows" part of the result array
- DatabaseUniqueUidNewRow
- On "new" command, initialize uid with a unique uid
- DatabaseUserPermissionCheck
- Determine user permission for action and check them
- EvaluateDisplayConditions
- Class implements the TCA 'displayCond' option.
- InitializeProcessedTca
- Initialize processed TCA from vanilla TCA
- InlineOverrideChildTca
- Override child TCA in an inline parent child relation.
- PageTsConfig
- Page TsConfig relevant for this record
- PageTsConfigMerged
- Page TSconfig relevant for this record
- ReturnUrl
- Resolve return Url if not set from outside. This is used
by various field elements when a "sub" FormEngine view
is triggered. An example is the "Add" button on type="group"
elements.
- SiteDatabaseEditRow
- Special data provider for the sites configuration module.
- SiteResolving
- This data provider is used in casual edit record / new record / edit page / new page
scenarios: It find the site object for a page and adds it as 'site' in $result.
- SiteTcaInline
- Special data provider for the sites configuration module.
- SystemMaintainerAsReadonly
- Special data provider for setting all fields of the current
record to "readOnly" in case a non system maintainer is editing
a system maintainer record.
- TcaCategory
- Data provider for type=category
- TcaCheckboxItems
- Resolve checkbox items and set processed item list in processedTca
- TcaColumnsOverrides
- Merge type specific columnsOverrides into columns of processedTca
- TcaColumnsProcessCommon
- Mark columns that are common to many tables for further processing
- TcaColumnsProcessFieldDescriptions
- Works on processedTca to determine the final value of field descriptions.
- TcaColumnsProcessFieldLabels
- Works on processedTca to determine the final value of field labels.
- TcaColumnsProcessPlaceholders
- Mark columns that are used by placeholders for further processing
- TcaColumnsProcessRecordTitle
- Mark columns that are used to generate the record title for
further processing
- TcaColumnsProcessShowitem
- Mark columns that are used in showitem or palettes for further processing
- TcaColumnsRemoveUnused
- Remove fields from columns not in showitem or palette list or needed otherwise
This is a relatively effective performance improvement preventing other
providers from resolving stuff of fields that are not shown later.
- TcaCountry
- Resolve select items for the type="country" and set processed item list in processedTca
- TcaFiles
- Resolve and prepare files data.
- TcaFlexPrepare
- Resolve flex data structure and data values, prepare and normalize.
- TcaFlexProcess
- Process data structures and data values, calculate defaults.
- TcaFolder
- Resolve databaseRow field content for type=folder
- TcaGroup
- Resolve databaseRow field content to the real connected rows for type=group
- TcaInline
- Resolve and prepare inline data.
- TcaInlineConfiguration
- Set or initialize configuration for inline fields in TCA
- TcaInlineExpandCollapseState
- Fetch information of user specific inline record expanded / collapsed state
from user->uc and put it into $result['inlineExpandCollapseStateArray']
- TcaInlineIsOnSymmetricSide
- Determine whether the child is on symmetric side or not.
- TcaInputPlaceholders
- Resolve placeholders for fields of type input or text. The placeholder value
in the processedTca section of the result will be replaced with the resolved
value.
- TcaJson
- Resolve and prepare json data.
- TcaLanguage
- Resolve select items for the type="language" and set processed item list in processedTca
- TcaRadioItems
- Resolve radio items and set processed item list in processedTca
- TcaRecordTitle
- Determine the title of a record and write it to $result['recordTitle'].
- TcaSelectItems
- Resolve select items, set processed item list in processedTca, sanitize and resolve database field
- TcaSelectTreeItems
- Data provider for type=select + renderType=selectTree fields.
- TcaSiteLanguage
- Resolve and prepare site language data
- TcaSlug
- Handles custom data for TCA Type=Slug
- TcaTablePermission
- Data provider for type=select + renderType=tablePermission fields.
- TcaText
- Resolve databaseRow field content for type=text, especially handle
richtext transformations "from db to rte"
- TcaTtContentColPosItemsRestrictionByBackendLayout
- Reduce tt_content colPos items if needed: When the pages backend layout does not allow
the current content element type (CType value) in a colPos (via "allowedContentTypes" and
"disallowedContentTypes" backend layout column configuration), then the content element
can not be switched to this colPos. The implementation reduces colPos items accordingly.
- TcaTtContentCtypeItemsRestrictionByBackendLayout
- Reduce tt_content CType items if needed: When the pages backend layout does not allow
content element types in current record colPos (via "allowedContentTypes" and
"disallowedContentTypes" backend layout column configuration), then the content element
can not be switched into those types. The implementation reduces CType items accordingly.
- TcaTypesCtrlOverrides
- Merge type-specific ctrl configuration from the types section into processedTca ctrl section.
- TcaUuid
- Generates and sets field value for type=uuid
- UserTsConfig
- Add user TSconfig to result