Skip to content

Latest commit

 

History

History
executable file
·
19 lines (16 loc) · 465 Bytes

README.md

File metadata and controls

executable file
·
19 lines (16 loc) · 465 Bytes

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)