TcaSchemaBuilder

Read onlyYes
FinalYes

This class builds a TCA schema for a given TCA This is done the following way:

As the relations need to be fully resolved first (done in RelationMapBuilder), the TcaSchemaFactory does two-step processing: 1a. Traverse TCA (and, if type=flex parts are registered), and find relations of all TCA parts pointing to each other 1b. Store this in a RelationMap object as a multi-level array.

  1. Loop through all TCA tables one by one 2a. Build field objects for the TCA table. 2b. Detect "sub schemata" (if [ctrl][type] is set), build the field objects only relevant for the sub-schema 2c. Build the sub-schema 2d. Build the main schema
Internal

Not part of TYPO3's API.

Table of Contents

Methods

__construct()  : mixed
buildFromStructure()  : SchemaCollection

Methods


        
On this page

Search results