How to call model function in view file? |
[eluser]danmontgomery[/eluser]
Code: $CI =& get_instance(); This is covered in the user guide under "Utilizing CodeIgniter Resources within Your Library", but a more appropriate title would be "Utilizing CodeIgniter Resources from anywhere other than the controller" |
Messages In This Thread |
How to call model function in view file? - by El Forum - 07-27-2010, 02:53 PM
How to call model function in view file? - by El Forum - 07-27-2010, 02:58 PM
How to call model function in view file? - by El Forum - 07-28-2010, 01:23 AM
How to call model function in view file? - by El Forum - 07-28-2010, 03:13 AM
How to call model function in view file? - by El Forum - 07-28-2010, 05:20 AM
|