Updater
class Updater extends JAdapter
Updater Class
Constants
Methods
__construct(
string $basepath = __DIR__,
string $classprefix = '\\Joomla\\CMS\\Updater\\Adapter',
string $adapterfolder = 'Adapter')
Constructor
JAdapterInstance|boolean
getAdapter(
string $name,
array $options = array())
Return an adapter.
from JAdapter
boolean
setAdapter(
string $name,
object $adapter = null,
array $options = array())
Set an adapter by name
from JAdapter
static
Updater
getInstance()
Returns a reference to the global Installer object, only creating it if it doesn't already exist.
boolean
findUpdates(
int|array $eid,
integer $cacheTimeout,
integer $minimum_stability = self::STABILITY_STABLE,
boolean $includeCurrent = false)
Finds the update for an extension. Any discovered updates are stored in the #__updates table.
mixed
update(
integer $id)
Finds an update for an extension
Details
__construct(
string $basepath = __DIR__,
string $classprefix = '\\Joomla\\CMS\\Updater\\Adapter',
string $adapterfolder = 'Adapter')
Constructor
boolean
setAdapter(
string $name,
object $adapter = null,
array $options = array())
Set an adapter by name
static
Updater
getInstance()
Returns a reference to the global Installer object, only creating it if it doesn't already exist.