An open API service indexing awesome lists of open source software.

https://github.com/phpfour/my_model

An extension of CodeIgniter's base Model class for providing a couple handy methods.
https://github.com/phpfour/my_model

Last synced: 5 months ago
JSON representation

An extension of CodeIgniter's base Model class for providing a couple handy methods.

Awesome Lists containing this project

README

          

MY_Model
===========

An extension to CodeIgniter's general Model class to assist in writing
very small amount of code to do general tasks that are needed in regular
application.

Methods
=========

* findBy($field, $value)
* findAllBy($field, $value)
* findAll($conditions, $fields, $order, $start, $limit)
* find($conditions, $fields, $order)
* field($conditions, $name, $fields, $order)
* findCount($conditions)
* insert($data)
* update($data, $id)
* remove($id)