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!

There is no profit here. The more we raise the longer we can keep things going and the better it will get.

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







fernsehprogramm online | Are there any place to buy wordpress themes or templates? Check Wordpress Themes, please