##視圖
###視圖操作有一下幾種
1. get 獲取get
1. post 獲取post
1. model 調用model
1. assign 分配數據
1. dp 模版
###demo
~~~
<?php
class coreViewAdmin extends coreFrameworkView
{
function __construct()
{
parent::__construct();
}
function index()
{
$get = $this->GVar->fget;
$post = $this->GVar->fpost;
$data = $this->model->modelName();
//中間區
$this->tmp->assign("data",$data);
$this->dp("admin/index");
}
}
?>
~~~