GalleryStatus performDownloadAndInstallation(
array
$installPackages, mixed
$repositories
)
|
|
Download specified packages to the local repository cache and perform installation.
Parameters:
array |
$installPackages: |
packages to install |
API Tags:
GalleryStatus updatePluginStatus(
array
$pluginStatus, array
$repositories, array
$redirect
)
|
|
Update the repository index, and scan all installed plugins and update GalleryPluginPackageMap with a complete listing of everything that's installed.
Parameters:
array |
$pluginStatus: |
status of all available installed plugins |
array |
$repositories: |
the repositories available for new plugins |
array |
$redirect: |
generateUrl params defining the view to return to |
API Tags:
Information Tags:
Todo: | Show a summary page (or at least a link to it) which contains details about the exact tasks that were performed and any errors that were encountered. |
int _countInstallActions(
array
$sourcedFiles
)
|
|
Calculate the total number of actions for the progress notifications
Parameters:
array |
$sourcedFiles: |
list of files that were downloaded |
API Tags:
Return: | number of actions |
array _createDownloadFileList(
array
$installPackages, array
$repositories
)
|
|
Create a list of all the files that need to be downloaded
Parameters:
array |
$installPackages: |
packages to install |
array |
$repositories: |
an array of GalleryRepository |
API Tags:
Return: | GalleryStatus a status code array list of corresponding files for the specified packages |
void _fetchPluginStatus(
$pluginType,
$ignoreCache
)
|
|
Passthrough to GalleryCoreApi::fetchPluginStatus, used by test code to allow us to inject mock plugins.
Parameters:
|
$pluginType: |
|
|
$ignoreCache: |
|
API Tags:
Access: | protected |
See: | GalleryCoreApi::fetchPluginStatus |
Redefined in descendants as:
GalleryStatus _synchronizeLanguages(
array
$sourcedFiles,
&$callback, array
$callback
)
|
|
Synchronize the active language packages with the newly downloaded packages
Parameters:
array |
$sourcedFiles: |
list of files that were downloaded |
array |
$callback: |
progress notification callback |
|
&$callback: |
|
API Tags: