Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 Deferable Features
#7

I already validate most of my data in my models. Since most of my code is intended to work in CI 2, I just push my data into the $_POST array before I validate it. Now that I'm moving most of my code to CI 3, it's possible that I could just use the set_data() method instead.

For reference, BF_Model's validate() method:
https://github.com/ci-bonfire/Bonfire/bl....php#L1145


Messages In This Thread
CodeIgniter 4 Deferable Features - by jlp - 05-04-2015, 02:26 AM
RE: CodeIgniter 4 Deferable Features - by mwhitney - 05-06-2015, 08:09 AM
RE: CodeIgniter 4 Deferable Features - by dmyers - 05-06-2015, 01:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB