PHP Class FOF30\Update\Extension

Mostra file Open project: akeeba/fof

Public Methods

Method Description
getUpdatesFromExtension ( string $url ) : array Reads an "extension" XML update source and returns all listed update entries.

Method Details

getUpdatesFromExtension() public method

If you have a "collection" XML update source you should do something like this: $collection = new F0FUtilsUpdateCollection(); $extensionUpdateURL = $collection->getExtensionUpdateSource($url, 'component', 'com_foobar', JVERSION); $extension = new F0FUtilsUpdateExtension(); $updates = $extension->getUpdatesFromExtension($extensionUpdateURL);
public getUpdatesFromExtension ( string $url ) : array
$url string The extension XML update source URL to read from
return array An array of update entries