Class JUpdate
Update class. It is used by JUpdater::update() to install an update. Use JUpdater::findUpdates() to find updates for an extension.
- JObject
- JUpdate
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/updater/update.php
Methods summary
protected
object
|
|
protected
string
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
loadFromXml( string $url, integer $minimum_stability =
Loads an XML file from a URL. |
protected
integer
|
#
stabilityTagToInteger( string $tag )
Converts a tag to numeric stability representation. If the tag doesn't represent a known stability level (one of dev, alpha, beta, rc, stable) it is ignored. |
Methods inherited from JObject
__construct()
,
__toString()
,
def()
,
get()
,
getError()
,
getErrors()
,
getProperties()
,
set()
,
setError()
,
setProperties()
Magic methods summary
Properties summary
protected
string
|
$name |
#
Update manifest |
protected
string
|
$description |
#
Update manifest |
protected
string
|
$element |
#
Update manifest |
protected
string
|
$type |
#
Update manifest |
protected
string
|
$version |
#
Update manifest |
protected
string
|
$infourl |
#
Update manifest |
protected
string
|
$client |
#
Update manifest |
protected
string
|
$group |
#
Update manifest |
protected
string
|
$downloads |
#
Update manifest |
protected
string
|
$tags |
#
Update manifest |
protected
string
|
$maintainer |
#
Update manifest |
protected
string
|
$maintainerurl |
#
Update manifest |
protected
string
|
$category |
#
Update manifest |
protected
string
|
$relationships |
#
Update manifest |
protected
string
|
$targetplatform |
#
Update manifest |
protected
string
|
$extra_query |
#
Extra query for download URLs |
protected
resource
|
$xmlParser |
#
Resource handle for the XML Parser |
protected
array
|
$stack |
#
Element call stack |
protected
array
|
$stateStore |
#
Unused state array |
protected
|
$currentUpdate |
#
Object containing the current update data |
protected
|
$latest |
#
Object containing the latest update data |
protected
integer
|
$minimum_stability |
#
The minimum stability required for updates to be taken into account. The possible values are: 0 dev Development snapshots, nightly builds, pre-release versions and so on 1 alpha Alpha versions (work in progress, things are likely to be broken) 2 beta Beta versions (major functionality in place, show-stopper bugs are likely to be present) 3 rc Release Candidate versions (almost stable, minor bugs might be present) 4 stable Stable versions (production quality code) |