a little bit about callbacks: return true
- Single Page
Posted 28 June 2012 - 04:25 AM
During development, I used callback_before_insert, callback_before_update and callback_before_delete. Because I use my own functions for these operations (due to storage in the nested sets), then it would be useful to simply return TRUE from callbacks. And in this case, grocerycrud acknowledges the operation cre/upd/del performed. I added it to the library grocerycrud, but can it be done in a simpler way? If this functionality is not provided yet, you may wish to add this?
Posted 28 June 2012 - 04:28 AM
Posted 28 June 2012 - 04:42 AM