Class JUpdater

Description

Updater Class

  • since: 11.1

Located in /libraries/joomla/updater/updater.php (line 26)

JObject
   |
   --JAdapter
      |
      --JUpdater
Variable Summary
Method Summary
static object An &getInstance ()
JUpdater __construct ()
array arrayUnique (array $myArray)
boolean findUpdates ([integer $eid = 0], [integer $cacheTimeout = 0])
mixed update (integer $id)
Variables
static JUpdater $instance (line 32)
  • var: JUpdater instance container.
  • since: 11.3
  • access: protected

Inherited Variables

Inherited from JAdapter

JAdapter::$_adapterfolder
JAdapter::$_adapters
JAdapter::$_basepath
JAdapter::$_classprefix
JAdapter::$_db

Inherited from JObject

JObject::$_errors
Methods
static method getInstance (line 53)

Returns a reference to the global Installer object, only creating it if it doesn't already exist.

  • return: installer object
  • since: 11.1
  • access: public
static object An &getInstance ()
Constructor __construct (line 39)

Constructor

  • since: 11.1
  • access: public
JUpdater __construct ()

Redefinition of:
JAdapter::__construct()
Constructor
arrayUnique (line 213)

Multidimensional array safe unique test

array arrayUnique (array $myArray)
  • array $myArray: The source array.
findUpdates (line 72)

Finds an update for an extension

  • return: True if there are updates
  • since: 11.1
  • access: public
boolean findUpdates ([integer $eid = 0], [integer $cacheTimeout = 0])
  • integer $eid: Extension Identifier; if zero use all sites
  • integer $cacheTimeout: How many seconds to cache update information; if zero, force reload the update information
update (line 228)

Finds an update for an extension

  • since: 11.1
  • access: public
mixed update (integer $id)
  • integer $id: Id of the extension

Inherited Methods

Inherited From JAdapter

JAdapter::__construct()
JAdapter::getAdapter()
JAdapter::getDBO()
JAdapter::loadAllAdapters()
JAdapter::setAdapter()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 14:00:22 -0500 by phpDocumentor 1.4.4