Back to Joomla project (class list)

Class CollectionAdapter - list of methods

Collection Update Adapter Class

Extends

Package: Joomla\CMS\Updater\Adapter
Copyright: (C) 2008 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Updater/Adapter/CollectionAdapter.php
Project: Joomla

Method Summary

protected string
()

Gets the reference to the current direct parent
Returns
  • string
Since
  • 1.7.0
Show source code of this method: _getStackLocation Source Code

protected string
()

Get the parent tag
Returns
  • string parent
Since
  • 1.7.0
Show source code of this method: _getParent Source Code

public void
(mixed $parser, mixed $name, mixed $attrs = array())

Opening an XML element
Parameters
  • object $parser Parser object
  • string $name Name of element that is opened
  • array $attrs Array of attributes for the element
Returns
  • void
Since
  • 1.7.0
Show source code of this method: _startElement Source Code

protected void
(mixed $parser, mixed $name)

Closing an XML element Note: This is a protected function though has to be exposed externally as a callback
Parameters
  • object $parser Parser object
  • string $name Name of the element closing
Returns
  • void
Since
  • 1.7.0
Show source code of this method: _endElement Source Code

public array|bool
(mixed $options)

Finds an update
Parameters
  • array $options Options to use: update_site_id: the unique ID of the update site to look at
Returns
  • array|bool Update_sites and updates discovered. False on failure
Since
  • 1.7.0
Show source code of this method: findUpdate Source Code

Properties Summary

protected object
$base
Root of the tree
Since
  • 1.7.0
protected array
$parent
Tree of objects
Since
  • 1.7.0
protected int
$pop_parent
Used to control if an item has a child or not
Since
  • 1.7.0
protected array
$update_sites
A list of discovered update sites
protected array
$updates
A list of discovered updates

Tags Summary

Since
1.7.0