Немного оптимизировал
This commit is contained in:
parent
f02a0bac42
commit
a49f10601b
3 changed files with 19 additions and 27 deletions
|
|
@ -11,5 +11,5 @@ $tpl->compile('index.html');
|
|||
|
||||
echo $tpl->render(array(
|
||||
'pagename' => 'awesome people',
|
||||
'authors' => ['Paul', 'Jim', 'Jane']
|
||||
'authors' => [['name' => 'Paul', 'age' => 10], ['name' => 'Jim', 'age' => 11], ['name' => 'Jane', 'age' => 12]]
|
||||
));
|
||||
Loading…
Add table
Add a link
Reference in a new issue