Documentation

Light-weight, fast, simple and powerful!
 
Translations of this page?:

Introduction

Le système évènementiel de Wolf CMS, aussi appelé observateurs, permet de s'abonner à de nombreux évènement dont la liste s'étoffera dans le futur.

Ci-dessous la liste des évènement et de leurs paramètres:

Observer::notify('admin_after_logout', $username);
Observer::notify('admin_login_failed', $data['username']);
Observer::notify('admin_login_success', $data['username']);
 
Observer::notify('comment_after_add', $comment);
Observer::notify('comment_after_approve', $comment);
Observer::notify('comment_after_delete', $comment);
Observer::notify('comment_after_edit', $comment);
Observer::notify('comment_after_unapprove', $comment);
 
Observer::notify('layout_after_add', $layout);
Observer::notify('layout_after_edit', $layout);
Observer::notify('layout_after_edit', $layout);
 
Observer::notify('page_add_after_save', $page);
Observer::notify('page_delete', $page);
Observer::notify('page_edit_after_save', $page);
Observer::notify('page_found', $page);
Observer::notify('page_not_found');
Observer::notify('page_requested', $_SERVER['QUERY_STRING']);
Observer::notify('view_page_edit_plugins', $page);
Observer::notify('view_page_edit_popup');
Observer::notify('view_page_edit_tabs', $page);
 
Observer::notify('part_edit_after_save', $part);
 
Observer::notify('plugin_after_disable', $plugin);
Observer::notify('plugin_after_enable', $plugin);
Observer::notify('view_backend_list_plugin', $plugin_name, $plugin);
 
Observer::notify('snippet_after_add', $snippet);
Observer::notify('snippet_after_delete', $snippet);
Observer::notify('snippet_after_edit', $snippet);
 
Observer::notify('user_after_add', $user->name);
Observer::notify('user_after_delete', $user->name);
Observer::notify('user_after_edit', $user->name);
 
fr/observer_event_list.txt · Last modified: 2011-09-12 00:46 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Copyright 2010 wolfcms.org / design by yello studio / Wolf CMS Inside