Apparently final private is pointless, who knew
This commit is contained in:
parent
048cfb3ee2
commit
60982069f6
@ -37,7 +37,7 @@ abstract class Page extends Responder {
|
|||||||
$this->render_foot();
|
$this->render_foot();
|
||||||
}
|
}
|
||||||
|
|
||||||
final private function render_head() {
|
private function render_head() {
|
||||||
$headtitle = $this->title;
|
$headtitle = $this->title;
|
||||||
$pagetitle = $this->title;
|
$pagetitle = $this->title;
|
||||||
if($this->subtitle) {
|
if($this->subtitle) {
|
||||||
@ -78,13 +78,13 @@ abstract class Page extends Responder {
|
|||||||
return $menu;
|
return $menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
final private function render_error() {
|
private function render_error() {
|
||||||
print(replace(array('type' => 'error',
|
print(replace(array('type' => 'error',
|
||||||
'message' => $this->error),
|
'message' => $this->error),
|
||||||
$this->fragments['message']));
|
$this->fragments['message']));
|
||||||
}
|
}
|
||||||
|
|
||||||
final private function render_foot() {
|
private function render_foot() {
|
||||||
print($this->template_parts['foot']);
|
print($this->template_parts['foot']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user