Where/what is the Page::save() (or equivalent) function

Permalink
I am trying to find a way to call a custom routine when a page is updated. For example, if I change a page attribute, when I save the change I need to call a function that registers that change in another database.

I can't seem to find what function does the actual saving of the page, or how I can extend/override it or put a hook into the save function, wherever it is.

I have tried various alternatives such as creating "collectionVersions" as a view, adding triggers to "collectionVersions", and other hack-ish solutions, but none have worked.

Can anyone suggest how I might do this?

Thanks

ntisithoj
 
shahroq replied on at Permalink Best Answer Reply
shahroq
C5 "Event System" seems like what you are looking for.
https://documentation.concrete5.org/developers/application-events/ov...
ntisithoj replied on at Permalink Reply
ntisithoj
Nice! Exactly what I was looking for. Thanks