https://github.com/ianmurrays/synt4x-model
CodeIgniter Model Extension
https://github.com/ianmurrays/synt4x-model
Last synced: 2 months ago
JSON representation
CodeIgniter Model Extension
- Host: GitHub
- URL: https://github.com/ianmurrays/synt4x-model
- Owner: ianmurrays
- License: mit
- Created: 2011-01-12T02:25:25.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-01-12T15:43:40.000Z (over 15 years ago)
- Last Synced: 2025-01-19T20:57:52.896Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeIgniter `Model` extension
This libraries extend CodeIgniter's basic model adding generic methods like `get()`, `create()`, `get_by_`, 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.