• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use anything as a rule and $this->some_model issue

#3
Any attempt at formatting/indenting your code would have shown you the problem.

PHP Code:
$this->form_validation->set_rules'birthdate''Birthdate', [
    
'required'
    [
        
'birthdate_callable'
        [
            
$this->my_user_model
            
'checkdateformat'
        
]
    ]
]); 
Reply


Messages In This Thread
RE: Use anything as a rule and $this->some_model issue - by skunkbad - 01-31-2018, 05:56 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.