MDL-20438 New plugins overview panel displaying some stats

This commit is contained in:
David Mudrak
2012-03-30 11:05:39 +02:00
parent b6ad85946d
commit d26f3ddde7
4 changed files with 62 additions and 0 deletions
+13
View File
@@ -786,6 +786,19 @@ abstract class plugininfo_base {
return null;
}
/**
* If there is an update of this plugin available, returns the data about it.
*
* Returns object with various properties about the available update, if such
* an update is available. Returns false if there is no update available for
* this plugin. Returns null if the update availabitlity is unknown.
*
* @return stdClass|false|null
*/
public function available_update() {
return null;
}
/**
* Returns the URL of the plugin settings screen
*