Welcome Guest, Not a member yet? Register   Sign In
Form Validation Callback
#4

(This post was last modified: 04-10-2017, 09:23 AM by InsiteFX. Edit Reason: spelling error and added message )

An underscore in front of a method name is CI's way of making it private same as using private function name()

But yes according to the documentation a validation callback starts like this callback_

So having an underscore in the method name first would cause it not to run.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Form Validation Callback - by RBX - 04-10-2017, 01:29 AM
RE: Form Validation Callback - by InsiteFX - 04-10-2017, 03:51 AM
RE: Form Validation Callback - by salain - 04-10-2017, 03:53 AM
RE: Form Validation Callback - by InsiteFX - 04-10-2017, 08:52 AM
RE: Form Validation Callback - by RBX - 04-10-2017, 11:02 AM
RE: Form Validation Callback - by Paradinight - 04-10-2017, 11:16 AM
RE: Form Validation Callback - by salain - 04-11-2017, 12:01 AM
RE: Form Validation Callback - by RBX - 04-11-2017, 08:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB