Callback functions just before or after a CakePHP model operation. These callback functions can be defined in model classes.These are very simple functions which called automatically when are defined by the core CakePHP.

  • beforeFind()
  • afterFind()
  • beforeValidate()
  • afterValidate()
  • beforeSave()
  • afterSave()
  • beforeDelete()
  • afterDelete()
  • onError()
BY Best Interview Question ON 13 Jan 2019