// controller 目錄下exends.php
class Controller_Extends extends Controller{
public function action_whj(){View>$.$ ' application/whj');//呼叫視圖模版檔
$view->state = $state;//賦值視圖變數
$view->expression = $expression;//賦值視圖變數
$this->response-> body($view);
}
}
?>
//view/application目錄下whj.php
This will if php
.