Added list functions
This commit is contained in:
parent
e3775e1045
commit
2226e91faf
11 changed files with 116 additions and 9 deletions
|
|
@ -127,7 +127,9 @@ class Templates {
|
|||
|
||||
public function end($section_name) {
|
||||
|
||||
$this->section_content[$section_name]=ob_get_contents();
|
||||
$this->section_content[$section_name]=$this->section_content[$section_name] ?? '';
|
||||
|
||||
$this->section_content[$section_name].=ob_get_contents();
|
||||
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue