向模板传递参数

public function index(){
    $name = "allun";
    $this-> assign('data',$name);
    $this->display();
}

 

posted @ 2013-11-29 21:12  allun  阅读(152)  评论(0)    收藏  举报