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…


Frog CMS Demo

Public front end website click here
Administration backend click here

Opensource.com admin login info:
login: admin
password: demo123

Help us!

If you use and like Frog CMS, then please consider making a donation.


Click here to lend your support to: Frog CMS and make a donation at www.pledgie.com !