Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Defines the structure of objects returned by core::update::checker::get_update_info(). More...
Public Member Functions | |
__construct ($name, array $info) | |
Creates new instance of the class. | |
Public Attributes | |
string | $component |
frankenstyle component name | |
string null | $download = null |
optional URL of a ZIP package that can be downloaded and installed | |
string null | $downloadmd5 = null |
of self\download is set, then this must be the MD5 hash of the ZIP | |
int null | $maturity = null |
optional maturity info, eg MATURITY_STABLE | |
string null | $release = null |
optional release name | |
string null | $url = null |
optional URL of a page with more info about the update | |
int | $version |
the available version of the component | |
Defines the structure of objects returned by core::update::checker::get_update_info().
core\update\info::__construct | ( | $name, | |
array | $info ) |
Creates new instance of the class.
The $info array must provide at least the 'version' value and optionally all other values to populate the object's properties.
string | $name | the frankenstyle component name |
array | $info | associative array with other properties |