Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe ExtensionAdapter
+ Graphe d'héritage de ExtensionAdapter:

Fonctions membres publiques

 findUpdate ($options)
 
- Fonctions membres publiques hérités de UpdateAdapter
 findUpdate ($options)
 

Fonctions membres protégées

 _startElement ($parser, $name, $attrs=array())
 
 _endElement ($parser, $name)
 
 _characterData ($parser, $data)
 
 stabilityTagToInteger ($tag)
 
- Fonctions membres protégées hérités de UpdateAdapter
 _getStackLocation ()
 
 _getLastTag ()
 
 toggleUpdateSite ($updateSiteId, $enabled=true)
 
 getUpdateSiteName ($updateSiteId)
 
 getUpdateSiteResponse ($options=array())
 

Membres hérités additionnels

- Attributs protégés hérités de UpdateAdapter
 $xmlParser
 
 $stack = array('base')
 
 $updateSiteId = 0
 
 $updatecols = array('NAME', 'ELEMENT', 'TYPE', 'FOLDER', 'CLIENT', 'VERSION', 'DESCRIPTION', 'INFOURL', 'EXTRA_QUERY')
 
 $appendExtension = false
 
 $updateSiteName = ''
 
 $_url = ''
 
 $minimum_stability = Updater::STABILITY_STABLE
 

Description détaillée

Extension class for updater

Depuis
1.7.0

Documentation des fonctions membres

◆ _characterData()

_characterData (   $parser,
  $data 
)
protected

Character Parser Function

Paramètres
object$parserParser object.
object$dataThe data.
Renvoie
void
Note
This is public because its called externally.
Depuis
1.7.0

Références $data.

◆ _endElement()

_endElement (   $parser,
  $name 
)
protected

Character Parser Function

Paramètres
object$parserParser object.
object$nameThe name of the element.
Renvoie
void
Depuis
1.7.0

Références $db, $name, Log\add(), Factory\getApplication(), Factory\getDbo(), InputFilter\getInstance(), Version\PATCH_VERSION, Version\PRODUCT, et Log\WARNING.

◆ _startElement()

_startElement (   $parser,
  $name,
  $attrs = array() 
)
protected

Start element parser callback.

Paramètres
object$parserThe parser object.
string$nameThe name of the element.
array$attrsThe attributes of the element.
Renvoie
void
Depuis
1.7.0

Références $name, et Table\getInstance().

◆ findUpdate()

findUpdate (   $options)

Finds an update.

Paramètres
array$optionsUpdate options.
Renvoie
array Array containing the array of update sites and array of updates
Depuis
1.7.0

Références $app, $options, Log\add(), Factory\getApplication(), ApplicationHelper\getClientInfo(), et Log\WARNING.

◆ stabilityTagToInteger()

stabilityTagToInteger (   $tag)
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.

Paramètres
string$tagThe tag string, e.g. dev, alpha, beta, rc, stable
Renvoie
integer
Depuis
3.4

Références Updater\STABILITY_STABLE.


La documentation de cette classe a été générée à partir du fichier suivant :