CakePHP Pertanyaan dan Jawaban Wawancara
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:
|
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: