class Content extends CodonModule {
public $title = 'Operations';
public function operations() {
$this->show('operations');
}
public $title = 'Staff';
public function staff() {
$this->show('staff');
}
}
I'm trying to give every template a title, but it can't redeclare a class, how can I bypass this? I tried putting public $title inside the function, but that doesn't follow the documentation, and doesn't work, it just throws an undefined T_PUBLIC error.