示例#1
0
 public function template()
 {
     $t = new Tag();
     echo "\n";
     /** @noinspection PhpMethodParametersCountMismatchInspection */
     $t->span(a::ariaChecked('false'));
     echo $t->div(a::id('main'), [$t->h1(['class' => 'test'], 'text'), $t->h2('{{title}}'), $t->div(a::id('body'), a::c1ass('body', 'container'), '{{body}}')], new Panel('Test', 'This is a test panel'));
     echo "\n\n";
 }