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.
- Host: GitHub
- URL: https://github.com/phpfour/my_model
- Owner: phpfour
- Created: 2011-09-25T19:29:41.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-13T09:52:31.000Z (almost 14 years ago)
- Last Synced: 2024-10-14T10:49:14.020Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 94.7 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)