We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de63e0c commit 57e3a13Copy full SHA for 57e3a13
1 file changed
user_guide_src/source/installation/upgrade_validations.rst
@@ -29,7 +29,7 @@ Upgrade Guide
29
- ``$this->load->helper(array('form', 'url'));`` to ``helper(['form', 'url']);``
30
- remove the line ``$this->load->library('form_validation');``
31
- ``if ($this->form_validation->run() == FALSE)`` to ``if (! $this->validate([]))``
32
- - ``$this->load->view('myform');`` to ``echo view('myform', ['validation' => $this->validator,]);``
+ - ``$this->load->view('myform');`` to ``return view('myform', ['validation' => $this->validator,]);``
33
34
3. You have to change the validation rules. The new syntax is to set the rules as array in the controller:
35
0 commit comments