Explain the callback functions in CakePHP?

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()

Suggest An Answer

No suggestions avaliable!

Latest post from CakePHP interview questions

Ask Question