‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration Class Reference
Inheritance diagram for TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration:
TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface

Public Member Functions

 getTitle ()
 
 hasPotentialUpdateForTable (string $tableName)
 
 updateTableRow (string $tableName, array $row)
 

Detailed Description

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

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

Definition at line 28 of file L18nDiffsourceToJsonMigration.php.

Member Function Documentation

◆ getTitle()

TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration::getTitle ( )

Get a description of this single row updater

Implements TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface.

Definition at line 30 of file L18nDiffsourceToJsonMigration.php.

◆ hasPotentialUpdateForTable()

TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration::hasPotentialUpdateForTable ( string  $tableName)

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

Parameters
string$tableName‪Given table

Implements TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface.

Definition at line 35 of file L18nDiffsourceToJsonMigration.php.

References $GLOBALS.

◆ updateTableRow()

TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration::updateTableRow ( string  $tableName,
array  $row 
)

Update a single row from a table.

Parameters
string$tableName‪Given table
array$row‪Given row
Returns
‪array Potentially modified row

Implements TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface.

Definition at line 40 of file L18nDiffsourceToJsonMigration.php.

References $GLOBALS.