![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
| getCategories ($url, $jVersion=null) | |
| getCategoryUpdateSource ($url, $category, $jVersion=null) | |
| getExtensions ($url, $type=null, $jVersion=null) | |
| getExtensionUpdateSource ($url, $type, $element, $jVersion=null) | |
Fonctions membres privées | |
| filterListByPlatform ($updates, $jVersion=null) | |
A helper class to read and parse "collection" update XML files over the web
|
private |
Filters a list of updates, returning only those available for the specified platform version $jVersion
| array | $updates | An array containing update definitions (categories or extensions) |
| string | $jVersion | Joomla! version to fetch updates for, or null to use JVERSION |
| getCategories | ( | $url, | |
$jVersion = null |
|||
| ) |
Returns only the category definitions of a collection
| string | $url | The URL of the collection update source |
| string | $jVersion | Joomla! version to fetch updates for, or null to use JVERSION |
Références $url.
| getCategoryUpdateSource | ( | $url, | |
| $category, | |||
$jVersion = null |
|||
| ) |
Returns the update source for a specific category
| string | $url | The URL of the collection update source |
| string | $category | The category name you want to get the update source URL of |
| string | $jVersion | Joomla! version to fetch updates for, or null to use JVERSION |
Get a list of updates for extensions only, optionally of a specific type
| string | $url | The URL of the collection update source |
| string | $type | The extension type you want to get the update source URL of, empty to get all extension types |
| string | $jVersion | Joomla! version to fetch updates for, or null to use JVERSION |
| getExtensionUpdateSource | ( | $url, | |
| $type, | |||
| $element, | |||
$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.
| string | $url | The URL of the collection update source |
| string | $type | The extension type you want to get the update source URL of |
| string | $element | The extension element you want to get the update source URL of |
| string | $jVersion | Joomla! version to fetch updates for, or null to use JVERSION |