CodeIgniter Model Extension
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
my_model.php
synt4x_model_php4.php
synt4x_model_php5.php

README.md

CodeIgniter Model extension

This libraries extend CodeIgniter's basic model adding generic methods like get(), create(), get_by_<foreign_key>, etc.

How to use

Simply put the 3 files in your system/application/libraries folder and have your models extend MY_Model instead of Model, add some data to the class constructor and you're done.

Check the source for more info on how they work. I created these a long time ago and no longer use them, so I don't really have time to create docs for this.