[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_joomlaupdate/src/Controller/ -> UpdateController.php (summary)

(no description)

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 677 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UpdateController:: (13 methods):
  download()
  install()
  finalise()
  cleanup()
  purge()
  upload()
  captive()
  confirm()
  display()
  finaliseconfirm()
  fetchExtensionCompatibility()
  batchextensioncompatibility()
  ajax()


Class: UpdateController  - X-Ref

The Joomla! update controller for the Update view

download()   X-Ref
Performs the download of the update package

return: void

install()   X-Ref
Start the installation of the new Joomla! version

return: void

finalise()   X-Ref
Finalise the upgrade by running the necessary scripts

return: void

cleanup()   X-Ref
Clean up after ourselves

return: void

purge()   X-Ref
Purges updates.

return: void

upload()   X-Ref
Uploads an update package to the temporary directory, under a random name

return: void

captive()   X-Ref
Checks there is a valid update package and redirects to the captive view for super admin authentication.

return: void

confirm()   X-Ref
Checks the admin has super administrator privileges and then proceeds with the update.

return: void

display($cachable = false, $urlparams = array()   X-Ref
Method to display a view.

param: boolean  $cachable   If true, the view output will be cached
param: array    $urlparams  An array of safe URL parameters and their variable types, for valid values see {@link \JFilterInput::clean()}.
return: static  This object to support chaining.

finaliseconfirm()   X-Ref
Checks the admin has super administrator privileges and then proceeds with the final & cleanup steps.

return: void

fetchExtensionCompatibility()   X-Ref
Fetch Extension update XML proxy. Used to prevent Access-Control-Allow-Origin errors.
Prints a JSON string.
Called from JS.

return: void

batchextensioncompatibility()   X-Ref
Determines the compatibility information for a number of extensions.

Called by the Joomla Update JavaScript (PreUpdateChecker.checkNextChunk).

return: void

ajax()   X-Ref
Fetch and report updates in \JSON format, for AJAX requests

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer