I was checking the API and noticed that there are _preSave and _postSave protected methods that could be used as hooks. Is there something similar for update/delete?
I was thinking of the following
preSave -> fires before a Save (insert/update)
postSave -> fires after a Save (insert/update)
preInsert
postInsert
preUpdate
postUpdate
preDelete
postDelete
Any existing functionality that I can use?
Compatible with version 0.4.5
In PhalconPHP these hooks are effectively validation events.
More information about validators
http://docs.phalconphp.com/en/latest/reference/models.html#validation-messages