The Observer system
This Document Will Be Expanded More In The Near Future…
How to use an event with a plugin
In your plugin’s index.php file add code similar to the following:
Observer::observe('page_edit_after_save', 'my_simple_observer');function my_simple_observer($page) { /* do what you want to do */ var_dump($page); }
This Document Will Be Expanded More In The Near Future…