\JoomlaupdateModelDefault

Joomla! update overview Model

Synopsis

class JoomlaupdateModelDefault extends JModelLegacy {
  • // Inherited members from JObject
  • protected  $_errors;
}

Hierarchy

Extends

Members

Methods

protected

public

  • applyUpdateSite() — Detects if the Joomla! update site currently in use matches the one configured in this component. If they don't match, it changes it.
  • cleanUp() — Removes the extracted package file
  • createRestorationFile()
  • download() — Downloads the update package to the site
  • finaliseUpgrade() — Runs the schema update SQL files, the PHP update script and updates the manifest cache and #__extensions entry. Essentially, it is identical to JInstallerFile::install() without the file copy.
  • getFTPOptions() — Returns an array with the configured FTP options
  • getUpdateInformation() — Returns an array with the Joomla! update information
  • purge() — Removes all of the updates from the table and enable all update streams.
  • refreshUpdates() — Makes sure that the Joomla! update cache is up-to-date

Inherited from JModelLegacy

protected

public

  • addIncludePath() — Add a directory where JModelLegacy should search for models. You may either pass a string or an array of directories.
  • addTablePath() — Adds to the stack of model table paths in LIFO order.
  • getDbo() — Method to get the database driver object
  • getInstance() — Returns a Model object, always creating it
  • getName() — Method to get the model name
  • getState() — Method to get model state variables
  • getTable() — Method to get a table object, load it if necessary.
  • loadHistory() — Method to load a row for editing from the version history table.
  • setDbo() — Method to set the database driver object
  • setState() — Method to set model state variables

Inherited from JObject

public

  • __toString() — Magic method to convert the object to a string gracefully.
  • def() — Sets a default value if not alreay assigned
  • get() — Returns a property of the object or the default value if the property is not set.
  • getError() — Get the most recent error message.
  • getErrors() — Return all errors, if any.
  • getProperties() — Returns an associative array of object properties.
  • set() — Modifies a property of the object, creating it if it does not already exist.
  • setError() — Add an error message.
  • setProperties() — Set the object properties based on a named array/hash.