add status hook

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@205 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo
2012-10-30 09:23:30 +00:00
parent c3b401049c
commit df4bbb9e79
2 changed files with 18 additions and 0 deletions

View File

@ -164,6 +164,8 @@ function plugin_init_example() {
$PLUGIN_HOOKS['post_init']['example'] = 'plugin_example_postinit';
$PLUGIN_HOOKS['status']['example'] = 'plugin_example_Status';
// CSRF compliance : All actions must be done via POST and forms closed by Html::closeForm();
$PLUGIN_HOOKS['csrf_compliant']['example'] = true;
}