Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
〜略〜
public function action_conf()
{
$data =array();
foreach ($this->fields as $field)
{
$data[$field] = Session::get_flash($field);
Session::keep_flash($field);
}
//selectボックスの選択肢のデータ$selectを、viewへ渡すために$dataへ入れる
$data['select'] = $this->select;
$view = View::forge('form/conf',$data);
return $view;
}
〜略〜
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment