[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Updater/ -> Update.php (summary)

Joomla! Content Management System

Copyright: (C) 2008 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 532 lines (15 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

Update:: (7 methods):
  _getStackLocation()
  _getLastTag()
  _startElement()
  _endElement()
  _characterData()
  loadFromXml()
  stabilityTagToInteger()


Class: Update  - X-Ref

Update class. It is used by Updater::update() to install an update. Use Updater::findUpdates() to find updates for
an extension.

_getStackLocation()   X-Ref
Gets the reference to the current direct parent

return: string

_getLastTag()   X-Ref
Get the last position in stack count

return: string

_startElement($parser, $name, $attrs = array()   X-Ref
XML Start Element callback

param: object  $parser  Parser object
param: string  $name    Name of the tag found
param: array   $attrs   Attributes of the tag
return: void

_endElement($parser, $name)   X-Ref
Callback for closing the element

param: object  $parser  Parser object
param: string  $name    Name of element that was closed
return: void

_characterData($parser, $data)   X-Ref
Character Parser Function

param: object  $parser  Parser object.
param: object  $data    The data.
return: void

loadFromXml($url, $minimumStability = Updater::STABILITY_STABLE)   X-Ref
Loads an XML file from a URL.

param: string  $url               The URL.
param: int     $minimumStability  The minimum stability required for updating the extension {@see Updater}
return: boolean  True on success

stabilityTagToInteger($tag)   X-Ref
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: string  $tag  The tag string, e.g. dev, alpha, beta, rc, stable
return: integer



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer