Skip to content
Snippets Groups Projects
Commit cea664bd authored by LarsDW223's avatar LarsDW223
Browse files

Added getter function getLastlevel() in Doku_Renderer_xhtml.

This is required for the filelist plugin to fix issue #11 since $lastlevel became protected in "hrun".
parent f847ae11
No related branches found
No related tags found
No related merge requests found
......@@ -1422,6 +1422,16 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$this->doc .= '</td>';
}
/**
* Returns the current header level.
* (required e.g. by the filelist plugin)
*
* @return int The current header level
*/
function getLastlevel() {
return $this->lastlevel;
}
#region Utility functions
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment