메소드 |
설명 |
|
backupCustomLocationAliases ( ) |
Backups custom Location URL aliases the custom URL alias backup table. |
|
backupGlobalAliases ( ) |
Backups global URL aliases the custom URL alias backup table. |
|
checkStorage ( ) |
Checks that configured storage engine is Legacy Storage Engine. |
|
combinePaths ( array $pathData ) : string[] |
Combines path data to an array of URL alias paths. |
|
configure ( ) |
|
|
createCustomLocationUrlAliasBackupTable ( ) |
Creates database table for custom Location URL alias backup. |
|
createGlobalUrlAliasBackupTable ( ) |
Creates database table for custom URL alias backup. |
|
doBackupCustomLocationAliases ( ) |
Internal method for backing up custom Location URL aliases. |
|
doBackupGlobalAliases ( ) |
Internal method for backing up global URL aliases. |
|
doGenerateLocationAliases ( ) |
Internal method for generating URL aliases. |
|
doRestoreCustomLocationAliases ( ) |
Restores custom Location URL aliases from the backup table. |
|
doRestoreGlobalAliases ( ) |
Restores global URL aliases from the backup table. |
|
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
|
|
extractPathElements ( array $levelData ) : string[] |
Returns all path element strings found for the given path $levelData. |
|
generateLocationAliases ( ) |
Generates URL aliases from the Location and Content data to the migration table. |
|
getProgressBar ( integer $maxSteps ) : ProgressBar |
Returns configured progress bar helper. |
|
getTotalBackupCount ( string $table ) : integer |
Return the number of rows in the given $table (on ID column). |
|
getTotalLocationContentCount ( ) |
Returns total number of Content objects having a Location in the database. |
|
getTotalLocationCount ( ) |
Returns total number of Locations in the database. |
|
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
|
|
isTableEmpty ( string $name ) : boolean |
Checks if database table $name is empty. |
|
loadLocationData ( Doctrine\DBAL\Query\QueryBuilder $queryBuilder, integer $pass ) : array |
Loads Location data for the given $pass. |
|
loadPassData ( Doctrine\DBAL\Query\QueryBuilder $queryBuilder, integer $pass ) : array |
Loads Location data for the given $pass. |
|
publishAliases ( integer | string $locationId, integer | string $parentLocationId, integer | string $contentId ) : integer |
Publishes URL aliases in all languages for the given parameters. |
|
restoreCustomLocationAliases ( ) |
Restores custom Location URL aliases from the backup table. |
|
restoreGlobalAliases ( ) |
Restores global URL aliases from the backup table. |
|
setDefaultTable ( ) |
Sets storage gateway to the default table. |
|
setMigrationTable ( ) |
Sets storage gateway to the migration table. |
|
storeCustomAliasPath ( integer $locationId, string $path, string $languageCode, boolean $alwaysAvailable, boolean $forwarding ) |
Stores custom URL alias data for $path to the backup table. |
|
storeCustomAliases ( array $aliases ) : integer |
Stores given custom $aliases to the custom alias backup table. |
|
storeGlobalAlias ( eZ\Publish\SPI\Persistence\Content\UrlAlias $alias ) : integer |
Stores given global URL $alias to the global URL alias backup table. |
|
storeGlobalAliasPath ( string $resource, string $path, string $languageCode, boolean $alwaysAvailable, boolean $forwarding ) |
Stores global URL alias data for $path to the backup table. |
|
tableExists ( string $name ) : boolean |
Checks if database table $name exists. |
|