Add getPureContent to Page to be able to get content without template

This commit is contained in:
Stéphane Goetz
2016-03-13 21:51:15 +01:00
parent d8f7a6e238
commit 55ef0b982b
7 changed files with 38 additions and 5 deletions

View File

@ -11,6 +11,11 @@ abstract class SimplePage implements Page
$this->initializePage($title, $content);
}
public function getPureContent()
{
return $this->content;
}
public function getContent()
{
if (is_null($this->generated)) {