PHP 클래스 DmitryDulepov\Realurl\ext_update

저자: Dmitry Dulepov ([email protected])
파일 보기 프로젝트 열기: dmitryd/typo3-realurl

보호된 프로퍼티들

프로퍼티 타입 설명
$databaseConnection TYPO3\CMS\Core\Database\DatabaseConnection

공개 메소드들

메소드 설명
__construct ( ) Creates the instance of the class.
access ( ) : boolean Checks if the script should execute. We check for everything except table structure.
main ( ) Runs the update.

보호된 메소드들

메소드 설명
checkAndRenameTables ( ) Checks and renames *cache tables to *data tables.
checkAndUpdatePathCachePrimaryKey ( ) : void Checks if the primary key needs updates (this is something that TYPO3 sql parser fails to do for years) and does necessary changes.
getLocker ( ) : TYPO3\CMS\Core\Locking\Locker | TYPO3\CMS\Core\Locking\LockingStrategyInterface Obtains the locker depending on the TYPO3 version.
hasOldCacheTables ( )
pathCacheNeedsUpdates ( ) : boolean Checks if path cache table is ok.
removeUrlDataEntriesWithIgnoredParameters ( ) Removes entries with parameters that should be ignored.
updateRealurlTableStructure ( ) : void Updates realurl table structure. The code is copied almost 1:1 from ExtensionManagerTables class.

메소드 상세

__construct() 공개 메소드

Creates the instance of the class.
public __construct ( )

access() 공개 메소드

Checks if the script should execute. We check for everything except table structure.
public access ( ) : boolean
리턴 boolean

checkAndRenameTables() 보호된 메소드

Checks and renames *cache tables to *data tables.
protected checkAndRenameTables ( )

checkAndUpdatePathCachePrimaryKey() 보호된 메소드

Checks if the primary key needs updates (this is something that TYPO3 sql parser fails to do for years) and does necessary changes.

getLocker() 보호된 메소드

Obtains the locker depending on the TYPO3 version.
protected getLocker ( ) : TYPO3\CMS\Core\Locking\Locker | TYPO3\CMS\Core\Locking\LockingStrategyInterface
리턴 TYPO3\CMS\Core\Locking\Locker | TYPO3\CMS\Core\Locking\LockingStrategyInterface

hasOldCacheTables() 보호된 메소드

protected hasOldCacheTables ( )

main() 공개 메소드

Runs the update.
public main ( )

pathCacheNeedsUpdates() 보호된 메소드

Checks if path cache table is ok.
protected pathCacheNeedsUpdates ( ) : boolean
리턴 boolean

removeUrlDataEntriesWithIgnoredParameters() 보호된 메소드

Removes entries with parameters that should be ignored.

updateRealurlTableStructure() 보호된 메소드

We ignore any errors because nothing can be done about those really. The client will have to do database update anyway, so he will see all failed queries.
protected updateRealurlTableStructure ( ) : void
리턴 void

프로퍼티 상세

$databaseConnection 보호되어 있는 프로퍼티

protected DatabaseConnection,TYPO3\CMS\Core\Database $databaseConnection
리턴 TYPO3\CMS\Core\Database\DatabaseConnection