AbstractTableHandler
abstract class \
Abstract table handler implements general methods
Internal
Table of Contents
Properties
- $tableName : string
Methods
- 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
Table name to match
Methods
injectRecordFinder()
public
injectRecordFinder(RecordFinder $recordFinder) : void
Parameters
- $recordFinder : RecordFinder
injectTcaSchemaFactory()
public
injectTcaSchemaFactory(TcaSchemaFactory $tcaSchemaFactory) : void
Parameters
- $tcaSchemaFactory : TcaSchemaFactory
match()
Match if given table name is registered table name
public
match(string $tableName) : bool
Parameters
- $tableName : string
Return values
boolcopyRecordToLanguage()
Create a 'copy / free mode' localization
protected
copyRecordToLanguage(string $tableName, int $uid, int $languageId) : array
Parameters
- $tableName : string
- $uid : int
- $languageId : int
Return values
arraygenerateTranslatedRecords()
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