Class FOFUtilsUpdateCollection
A helper class to read and parse "collection" update XML files over the web
Package: FrameworkOnFramework\utils
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/utils/update/collection.php
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/utils/update/collection.php
Methods summary
public
array
|
#
getAllUpdates( string $url, string $jVersion = null )
Reads a "collection" XML update source and returns the complete tree of categories and extensions applicable for platform version $jVersion |
public
array
|
#
getCategories( string $url, string $jVersion = null )
Returns only the category definitions of a collection |
public
string|null
|
#
getCategoryUpdateSource( string $url, string $category, string $jVersion = null )
Returns the update source for a specific category |
public
array|null
|
#
getExtensions( string $url, string $type = null, string $jVersion = null )
Get a list of updates for extensions only, optionally of a specific type |
public
string|null
|
#
getExtensionUpdateSource( string $url, string $type, string $element, string $jVersion = null )
Get the update source URL for a specific extension, based on the type and element, e.g. type=file and element=joomla is Joomla! itself. |