0
내 문제는보기에서 submit
버튼을 누른 후 발생하기 때문에 매개 변수를 잃는 것입니다 (즉, id
변수를 사용할 수 없음). if 조건 안에 들어가면 (예 : 배열을 설정 한 후)템플릿 내용을 설정 한 후 매개 변수를 전달하는 방법은 무엇입니까?
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');