Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
_startElement ($parser, $name, $attrs=array()) | |
_endElement ($parser, $name) | |
_characterData ($parser, $data) | |
loadFromXml ($url, $minimumStability=Updater::STABILITY_STABLE) | |
Fonctions membres publiques hérités de CMSObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Fonctions membres protégées | |
_getStackLocation () | |
_getLastTag () | |
stabilityTagToInteger ($tag) | |
Attributs protégés | |
$name | |
$description | |
$element | |
$type | |
$version | |
$infourl | |
$client | |
$group | |
$downloads | |
$downloadSources = array() | |
$tags | |
$maintainer | |
$maintainerurl | |
$category | |
$relationships | |
$targetplatform | |
$extra_query | |
$xmlParser | |
$stack = array('base') | |
$stateStore = array() | |
$currentUpdate | |
$latest | |
$minimum_stability = Updater::STABILITY_STABLE | |
$compatibleVersions = array() | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Update class. It is used by Updater::update() to install an update. Use Updater::findUpdates() to find updates for an extension.
_characterData | ( | $parser, | |
$data | |||
) |
Character Parser Function
object | $parser | Parser object. |
object | $data | The data. |
Références $data.
_endElement | ( | $parser, | |
$name | |||
) |
Callback for closing the element
object | $parser | Parser object |
string | $name | Name of element that was closed |
Références $db, $key, $name, $this, $val, elseif, Factory\getDbo(), InputFilter\getInstance(), et Version\PRODUCT.
|
protected |
Get the last position in stack count
|
protected |
Gets the reference to the current direct parent
_startElement | ( | $parser, | |
$name, | |||
$attrs = array() |
|||
) |
loadFromXml | ( | $url, | |
$minimumStability = Updater::STABILITY_STABLE |
|||
) |
Loads an XML file from a URL.
string | $url | The URL. |
int | $minimumStability | The minimum stability required for updating the extension { |
Références $this, $url, $version, Log\add(), HttpFactory\getHttp(), null, Text\sprintf(), et Log\WARNING.
|
protected |
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.
string | $tag | The tag string, e.g. dev, alpha, beta, rc, stable |
Références Updater\STABILITY_STABLE.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |