Example #1
0
 function process(Request $request = null)
 {
     echo 'Это ' . __CLASS__;
     $tpl = MarkerTpl::get('test.tpl');
     echo $tpl->process(['name' => $request->getParm('name')]);
 }
Example #2
0
 function process(Request $request)
 {
     $tpl = MarkerTpl::get('test.tpl');
     echo $tpl->process(array('name' => 'Толик'));
 }