CodeIgniter Hints: Extending Models

Deprecated thought: Either it's really old, or not used anymore. You can probably ignore it.

If you are new to CodeIgniter and are using CI 2.x, then you might run into this little issue. If you want to extend a model, which you will undoubtedly need at some point, you might get confused by instructions that say to do it this way:
class Users extends Model

You won’t get much love doing in trying to extend model in Code Igniter 2.0. Most controllers in CodeIgniter now use the prefix CI_ (that second character is an uppercase ‘i’).

This is the correct way to extend a model:
class Users extends CI_Model
and place the file into application/models: