InlineMnSymmetric

final class \TYPO3\CMS\Styleguide\TcaDataGenerator\TableHandler\InlineMnSymmetric

Extends
AbstractTableHandler
Implements
TableHandlerInterface

Generate data for table tx_styleguide_inline_mnsymmetric

Table of Contents

Interfaces

TableHandlerInterface
Interface for table handlers

Properties

$tableName  : string

Methods

__construct()  : mixed
handle()  : void
Create 4 rows, add row 2 and 3 as branch to row 1
injectRecordFinder()  : void
injectTcaSchemaFactory()  : void
match()  : bool
Match if given table name is registered table name
copyRecordToLanguage()  : array
Create a 'copy / free mode' localization
generateTranslatedRecords()  : void
localizeRecord()  : array
Create a 'translate / connected mode' localization

Properties

$tableName

protected string $tableName = 'tx_styleguide_inline_mnsymmetric'

Table name to match

Methods

handle()

Create 4 rows, add row 2 and 3 as branch to row 1

public handle(string $tableName) : void

Parameters

$tableName : string

match()

Match if given table name is registered table name

public match(string $tableName) : bool

Parameters

$tableName : string

Return values

bool

copyRecordToLanguage()

Create a 'copy / free mode' localization

protected copyRecordToLanguage(string $tableName, int $uid, int $languageId) : array

Parameters

$tableName : string
$uid : int
$languageId : int

Return values

array

generateTranslatedRecords()

protected generateTranslatedRecords(string $tableName, array $fieldValues) : void

Parameters

$tableName : string
$fieldValues : array

localizeRecord()

Create a 'translate / connected mode' localization

protected localizeRecord(string $tableName, int $uid, int $languageId) : array

Parameters

$tableName : string
$uid : int
$languageId : int

Return values

array
On this page