\JUpdaterExtension
Extension class for updater
Synopsis
class JUpdaterExtension
extends JUpdateAdapter
{
- // Inherited members from JUpdateAdapter
- protected $xmlParser;
- protected $stack;
- protected $updateSiteId;
- protected $updatecols;
- // Inherited members from JAdapterInstance
- protected JAdapter $parent;
- protected JDatabaseDriver $db;
- // Inherited members from JObject
- protected $_errors;
- // methods
- protected void _startElement()
- protected void _endElement()
- protected void _characterData()
- public array findUpdate()
- // Inherited methods from JUpdateAdapter
- protected _getStackLocation()
- protected _getLastTag()
- // Inherited methods from JAdapterInstance
- public void __construct()
- public JAdapter getParent()
- // Inherited methods from JObject
- public void __construct()
- public string __toString()
- public mixed def()
- public mixed get()
- public array getProperties()
- public string getError()
- public array getErrors()
- public mixed set()
- public boolean setProperties()
- public void setError()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
86 | remove code: echo 'Closing: '. $name .'<br />'; |
137 | remove code |
Members
protected
- $_errors
—
array
An array of error messages or Exception objects. - $db
—
JDatabaseDriver
Database - $parent
—
JAdapter
Parent - $stack
—
array
Element call stack - $updateSiteId
—
string
ID of update site - $updatecols
—
array
Columns in the extensions table to be updated - $xmlParser
—
resource
Resource handle for the XML Parser
Methods
protected
- _characterData() — Character Parser Function
- _endElement() — Character Parser Function
- _startElement() — Start element parser callback.
public
- findUpdate() — Finds an update.
Inherited from JUpdateAdapter
protected
- _getLastTag() — Gets the reference to the last tag
- _getStackLocation() — Gets the reference to the current direct parent
Inherited from JAdapterInstance
public
- getParent() — Retrieves the parent object
Inherited from JObject
public
- __toString() — Magic method to convert the object to a string gracefully.
- def() — Sets a default value if not alreay assigned
- get() — Returns a property of the object or the default value if the property is not set.
- getError() — Get the most recent error message.
- getErrors() — Return all errors, if any.
- getProperties() — Returns an associative array of object properties.
- set() — Modifies a property of the object, creating it if it does not already exist.
- setError() — Add an error message.
- setProperties() — Set the object properties based on a named array/hash.