PHP Class FOF30\Update\Extension

Afficher le fichier Open project: akeeba/fof

Méthodes publiques

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

Method Details

getUpdatesFromExtension() public méthode

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
Résultat array An array of update entries