Skip to content
Snippets Groups Projects
Unverified Commit 1513ac1d authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Add default for new parameter of header() in renderer

parent a9fd7967
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,10 @@ class tool_lifecycle_renderer extends plugin_renderer_base { ...@@ -38,9 +38,10 @@ class tool_lifecycle_renderer extends plugin_renderer_base {
/** /**
* Write the page header * Write the page header
* *
* @oaram string optional page title.
* @return string * @return string
*/ */
public function header($title) { public function header($title = null) {
global $OUTPUT, $PAGE; global $OUTPUT, $PAGE;
echo $OUTPUT->header(); echo $OUTPUT->header();
if ($title) { if ($title) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment