CakePHP Interview Questions and Answers
Question: Explain the purpose of the CakePHP 'beforeDelete' callback.Answer: The 'beforeDelete' callback is called before a record is deleted from the database. It's commonly used for additional cleanup or checks.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: