array convertCharacterSetToUtf8(
$module,
$statusMonitor
)
|
|
Change character set encoding to utf 8 for MySQL if necessary. This is public because it is also used by ConvertDatabaseToUtf8Task.
Parameters:
API Tags:
Return: | GalleryStatus a status code bool true if any conversions took place |
Access: | public |
boolean isConfigUpgradeRequired(
string
$currentVersion
)
|
|
Check if any changes to config.php are required for this upgrade.
Parameters:
string |
$currentVersion: |
current core version |
API Tags:
Return: | true if change is required |
Perform upgrade of config.php file.
Parameters:
string |
$currentVersion: |
current core version |
API Tags:
void performFactoryRegistrations(
$module
)
|
|
Parameters:
API Tags:
See: | GalleryModule::performFactoryRegistrations |
void upgrade(
GalleryModule
$module, string
$currentVersion,
$statusMonitor
)
|
|
Parameters:
GalleryModule |
$module: |
the core module |
string |
$currentVersion: |
the current installed version |
|
$statusMonitor: |
|
API Tags:
See: | GalleryModule::upgrade |
Create the access list compactor lock entity.
Parameters:
API Tags:
Create the initial admin user.
Parameters:
API Tags:
Create the initial all users group.
Parameters:
API Tags:
Create the initial anonymous user.
Parameters:
API Tags:
Create the everybody group.
Parameters:
API Tags:
Create the root album item.
Parameters:
API Tags:
Create the site admins group.
Parameters:
API Tags:
array _prepareConfigUpgrade(
string
$currentVersion
)
|
|
Determine what changes to config.php are required for this upgrade.
Parameters:
string |
$currentVersion: |
current core version |
API Tags:
Return: | of array('remove' => array of string regexp removals, 'add' => array of string additions) |
Access: | private |
void _sortSchemaTableLast(
$a,
$b
)
|
|
Sort an associative array where the key is the name of the table. Force the schema table to be last in line.
Parameters: