MDL-44629 Assignment: add facility for displaying plugin-specific headers

This commit is contained in:
Henning Bostelmann
2014-04-07 11:34:26 +01:00
parent 1a727e121e
commit af904bd75b
4 changed files with 49 additions and 0 deletions
+10
View File
@@ -628,6 +628,16 @@ abstract class assign_plugin {
return '';
}
/**
* This allows a plugin to render an introductory section which is displayed
* right below the activity's "intro" section on the main assignment page.
*
* @return string
*/
public function view_header() {
return '';
}
/**
* If this plugin should not include a column in the grading table or a row on the summary page
* then return false