steamboy
steamboy

Reputation: 1162

How can I do a global Model afterSave() on Cake?

How can I do a global Model afterSave() on Cake? I want to do some things right after a save is done.

Thanks, Gino

Upvotes: 1

Views: 156

Answers (1)

zephyr
zephyr

Reputation: 159

Put it in your AppModel (and extend your models from that). Check out the CookBook on models

Upvotes: 4

Related Questions