FUEL CMS Forum
Discussions
Activity
Home
›
Development
›
Modules
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
3.3K
All Categories
255
FUEL CMS News
112
News & Announcements
101
Share
273
Support
115
Bug Reports
90
Installation
242
Development
68
Feature Requests
117
Modules
CRITICAL SECURITY VERSION UPDATE:
https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.13
which is more suitable ?
knight
July 2011
edited July 2011
in
Modules
$this->load->module_model(MODULE_FOLDER,'recipes_model');
vs
$CI =& get_instance();
$CI->load->module_model(MODULE_FOLDER,'recipes_model');
it seem like both are working, any recommend which one is more suitable during module development ?
Comments
admin
July 2011
edited 8:10PM
I tend to use $CI but that was because I originally didn't realize the other way was possible way back when. Either should work though and the other way is actually cleaner.
knight
July 2011
edited 8:10PM
will do thanks.
Sign In
or
Register
to comment.
Forum Software Powered by Vanilla
Comments