L18nDiffsourceToJsonMigration implements RowUpdaterInterface

Migrate any translatable table rows from transOrigDiffSourceField being stored as serialized string to json_encoded string.

Internal

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Table of Contents

Interfaces

RowUpdaterInterface
Interface each single row updater must implement.

Methods

getTitle()  : string
Get a description of this single row updater
hasPotentialUpdateForTable()  : bool
Return true if this row updater may have updates for given table rows.
updateTableRow()  : array<string|int, mixed>
Update a single row from a table.

Methods

getTitle()

Get a description of this single row updater

public getTitle() : string
Return values
string

hasPotentialUpdateForTable()

Return true if this row updater may have updates for given table rows.

public hasPotentialUpdateForTable(string $tableName) : bool
Parameters
$tableName : string

Given table

Return values
bool

updateTableRow()

Update a single row from a table.

public updateTableRow(string $tableName, array<string|int, mixed> $row) : array<string|int, mixed>
Parameters
$tableName : string

Given table

$row : array<string|int, mixed>

Given row

Return values
array<string|int, mixed>

Potentially modified row


        
On this page

Search results