DataMapFactory

Read onlyYes

A factory for a data map to map a single table configured in $TCA on a domain object.

Internal

only to be used within Extbase, not part of TYPO3 Core API.

Table of Contents

Methods

__construct()  : mixed
buildDataMap()  : DataMap
Builds a data map by adding column maps for all the configured columns in the $TCA.
buildDataMapInternal()  : DataMap
Builds a data map by adding column maps for all the configured columns in the $TCA.
resolveTableName()  : string
Resolve the table name for the given class name

Methods

__construct()

public __construct(ClassesConfiguration $classesConfiguration, ColumnMapFactory $columnMapFactory, TcaSchemaFactory $tcaSchemaFactory, string $baseCacheIdentifier, FrontendInterface $firstLevelCache, FrontendInterface $secondLevelCache) : mixed
Parameters
$classesConfiguration : ClassesConfiguration
$columnMapFactory : ColumnMapFactory
$tcaSchemaFactory : TcaSchemaFactory
$baseCacheIdentifier : string
$firstLevelCache : FrontendInterface
$secondLevelCache : FrontendInterface

buildDataMap()

Builds a data map by adding column maps for all the configured columns in the $TCA.

public buildDataMap(string $className) : DataMap

It also resolves the type of values the column is holding and the typo of relation the column represents.

Parameters
$className : string

The class name you want to fetch the Data Map for

Return values
DataMap

buildDataMapInternal()

Builds a data map by adding column maps for all the configured columns in the $TCA.

protected buildDataMapInternal(string $className) : DataMap

It also resolves the type of values the column is holding and the typo of relation the column represents.

Parameters
$className : string

The class name you want to fetch the Data Map for

Tags
throws
InvalidClassException
Return values
DataMap

resolveTableName()

Resolve the table name for the given class name

protected resolveTableName(string $className) : string
Parameters
$className : string
Return values
string

        
On this page

Search results