0
我的問題是,當我進入if條件時,我失去了參數(即我不能使用id
變量),因爲這發生在按下視圖中的submit
按鈕後(即在設置了後置數組後)如何在設置模板內容後傳遞參數?
public function action_resetpassword()
{
$this->template->content = View::factory('user/password/reset')
->bind('message', $message)
->bind('errors', $errors);
if (HTTP_Request::POST == $this->request->method())
{
$id = $this->request->param('id');