Class JUpdater

Description

Updater Class

  • since: 11.1

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

JObject
   |
   --JAdapter
      |
      --JUpdater
Variable Summary
Method Summary
 static object An getInstance ()
 JUpdater __construct ()
 boolean findUpdates ([integer $eid = 0], [integer $cacheTimeout = 0])
 mixed update (integer $id)
Variables
static JUpdater $instance (line 31)
  • 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 getInstance (line 52)

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 38)

Constructor

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

Redefinition of:
JAdapter::__construct()
Constructor
findUpdates (line 71)

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 197)

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()

Documentation generated on Tue, 19 Nov 2013 15:16:12 +0100 by phpDocumentor 1.4.3