Метод |
Описание |
|
abortInitialization ( ) |
|
|
activateVersionPress ( ) |
|
|
adjustGitProcessTimeout ( ) |
|
|
checkTimeout ( ) |
|
|
commitDatabase ( ) |
Commits db changes if database has been locked |
|
copyAccessRulesFiles ( ) |
Copies the .htaccess and web.config files into the vpdb directory. |
|
createCommonConfig ( ) |
|
|
createGitRepository ( ) |
|
|
createVpidsForEntitiesOfType ( string $entityName ) |
If entity type identified by $entityName defines an ID column, creates a mapping between WordPress ID and VPID
for all entities (db rows) of such type. |
|
doInitializationCommit ( $isUpdate ) |
|
|
extendEntitiesWithVpids ( $entityName, $entities ) |
|
|
getEntitiesFromDatabase ( $entityName ) : mixed |
|
|
installComposerScripts ( ) |
|
|
installGitignore ( ) |
Installs Gitignore to the repository root, or does nothing if the file already exists. |
|
lockDatabase ( ) |
|
|
persistActionsDefinitions ( ) |
|
|
replaceForeignKeysWithReferencesInAllEntities ( $entityName, $entities ) |
|
|
replaceShortcodesInAllEntities ( $entityName, $entities ) |
|
|
reportProgressChange ( string $message ) |
Calls the registered onProgressChanged functions with the progress $message |
|
rollbackDatabase ( ) |
Rolls back database if it was locked by lockDatabase() and an unexpected shutdown occurred. |
|
saveDatabaseToStorages ( ) |
Saves all eligible entities into the file system storage (the 'db' folder) |
|
saveEntitiesOfTypeToStorage ( string $entityName ) |
Saves entities of type identified by $entityName to their appropriate storage
(chosen by factory). |
|
saveMetaEntities ( Storage $storage, $entities, $parentReference ) |
|
|
saveMnReferences ( $referenceDetails ) |
|
|
saveStandardEntities ( Storage $storage, $entities ) |
|
|
timeoutIsClose ( ) |
|
|
tryToUseIdsFromDatabase ( ) |
|
|