Codeigniter.tvbeta

Codeigniter video tutorials and screencasts

Extending the Codeigniter core: MY_Model part 3

Creating insert and update methods

Author: Joost van Veen

2012/01/03

Third in the Codeigniter.tv series 'Creating a MY_Model'.

In this episode we will create insert and update functionality, with just a single method: save(). Also, we'll have a brief look at before and after save methods.

Download the source code for extending the core: MY_Model