• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Instantiate model from helper

#3
[eluser]johnpeace[/eluser]
Or do it like this:

[code] $CI =& get_instance();
$CI->load->model('your_model');
$CI->your_model->user_form_session($data);
[code]


Messages In This Thread
Instantiate model from helper - by El Forum - 06-10-2012, 11:21 PM
Instantiate model from helper - by El Forum - 06-11-2012, 01:36 AM
Instantiate model from helper - by El Forum - 06-11-2012, 06:43 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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