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

Public Member Functions

 __construct (private ConnectionPool $connectionPool, private SiteFinder $siteFinder)
 
 getTitle ()
 
 hasPotentialUpdateForTable (string $tableName)
 
 updateTableRow (string $tableName, array $row)
 

Private Member Functions

 getRootPageIds ()
 
 sysRedirectsTableExists ()
 
 getPreparedQueryBuilder ()
 

Private Attributes

const TABLE_NAME = 'sys_redirect'
 
array $rootPageIds
 

Detailed Description

Since
12.1

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

Definition at line 30 of file SysRedirectRootPageMoveMigration.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::__construct ( private ConnectionPool  $connectionPool,
private SiteFinder  $siteFinder 
)

Member Function Documentation

◆ getPreparedQueryBuilder()

TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::getPreparedQueryBuilder ( )
private

◆ getRootPageIds()

◆ getTitle()

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

Get a description of this single row updater

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

Definition at line 43 of file SysRedirectRootPageMoveMigration.php.

◆ hasPotentialUpdateForTable()

◆ sysRedirectsTableExists()

TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::sysRedirectsTableExists ( )
private

◆ updateTableRow()

TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::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 68 of file SysRedirectRootPageMoveMigration.php.

Member Data Documentation

◆ $rootPageIds

array TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::$rootPageIds
private

◆ TABLE_NAME

const TYPO3\CMS\Install\Updates\RowUpdater\SysRedirectRootPageMoveMigration::TABLE_NAME = 'sys_redirect'
private

Definition at line 32 of file SysRedirectRootPageMoveMigration.php.