1.在APP/tpl下建立Action同名的文件夹
然后建立模板文件,如:index.html
2.在哪IndextAction.class.php中调用模板:
$this->display();
或$this->display('test');
1.在APP/tpl下建立Action同名的文件夹
然后建立模板文件,如:index.html
2.在哪IndextAction.class.php中调用模板:
$this->display();
或$this->display('test');