Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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. More... | |
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 |