Метод |
Описание |
|
__construct ( $params, $installFile = 'upgrade.xml', $isPlugin = false ) |
Constructor. |
|
_createQuery ( $stageId, $submissionId, $sequence, $title, $dateNotified = null ) |
|
|
clearDataCache ( ) : boolean |
Clear the data cache files (needed because of direct tinkering
with settings tables) |
|
convertEditorDecisionNotes ( ) : boolean |
Convert editor decision notes to a query. |
|
convertQueries ( ) : boolean |
Convert signoffs to queries. |
|
convertSupplementaryFiles ( ) : boolean |
Convert supplementary files to submission files. |
|
fixReviewForms ( ) : boolean |
Modernize review form storage from OJS 2.x |
|
htmlifyEmailTemplates ( ) : boolean |
Convert email templates to HTML. |
|
installDefaultGenres ( ) |
For 3.0.0 upgrade. Genres are required to migrate files. |
|
isUpgrade ( ) : boolean |
Returns true iff this is an upgrade process. |
|
localizeArticleCoverImages ( ) : boolean |
Localize article cover images. |
|
localizeCustomBlockSettings ( ) |
For 2.4.6 upgrade: to enable localization of a CustomBlock,
the blockContent values are converted from string to array (key: primary_language) |
|
localizeIssueCoverImages ( ) : boolean |
Localize issue cover images. |
|
migrateArticleMetadata ( ) : boolean |
For 3.0.0 upgrade: Convert string-field semi-colon separated metadata to controlled vocabularies. |
|
migrateCounterPluginUsageStatistics ( ) |
For 2.4 upgrade: migrate COUNTER statistics to the metrics table. |
|
migrateDefaultUsageStatistics ( ) |
For 2.4 upgrade: migrate OJS default statistics to the metrics table. |
|
migrateFiles ( $upgrade, $params ) : boolean |
Migrate submission filenames from OJS 2.x |
|
migrateTimedViewsUsageStatistics ( ) |
For 2.4 upgrade: migrate Timed views statistics to the metrics table. |
|
migrateUserRoles ( ) : boolean |
For 3.0.0 upgrade: Migrate the static user role structure to
user groups and stage assignments. |
|
rebuildSearchIndex ( ) : boolean |
Rebuild the search index. |
|
setFileName ( ) : boolean |
Set the missing file names. |
|
setFileUploader ( ) : boolean |
Set the missing uploader user id and group id to a journal manager. |
|
syncSeriesAssocType ( ) : boolean |
Synchronize the ASSOC_TYPE_SERIES constant to ASSOC_TYPE_SECTION defined in PKPApplication. |
|