Suggest a feature

Welcome to TagMyCode

Please login or create account to add a snippet.
Language: PHP
Posted by: Dylan Lopez
Added: Jan 18, 2018 7:09 AM
Views: 21
Tags: no tags
In some cases you may want to develop classes that exist apart from your controllers but have the ability to utilize all of CodeIgniter’s resources. This is easily possible as you’ll see.
  1. $CI =& get_instance();