Documentation

Light-weight, fast, simple and powerful!
 
observer_event_list [2013-10-18 09:38]
mm Added 'view_backend_layout_head'
observer_event_list [2014-08-17 00:42] (current)
mvdkleijn
Line 1: Line 1:
-====== Introduction ====== +This information has been migrated to http://docs.wolfcms.org/
- +
-The Wolf CMS events system, also known as the observer system, has a number of events which will continue to expand in the future. +
- +
-The know how to use the events listed here, see [[the_observer_system|The Observer System Introduction]] +
- +
-Here is the events list with their parameters, updated for Wolf CMS 0.8.0: +
- +
- +
-<code php> +
-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('cron_run'); +
- +
-Observer::notify('csrf_token_invalid', AuthUser::getUserName()); // Since 0.7.+
-Observer::notify('csrf_token_not_found', AuthUser::getUserName()); // Since 0.7.0 +
- +
-Observer::notify('dispatch_route_found', $uri); +
- +
-Observer::notify('layout_after_add', $layout); +
-Observer::notify('layout_after_delete', $layout); +
-Observer::notify('layout_after_edit', $layout); +
- +
-Observer::notify('login_requested', $redirect); // Since 0.7.5 +
-Observer::notify('login_required', $redirect); // Since 0.7.5 +
-Observer::notify('logout_requested'); // Since 0.7.0 +
- +
-Observer::notify('page_add_before_save', $page); // Added in Rev251 for 0.7.0 +
-Observer::notify('page_add_after_save', $page); +
-Observer::notify('page_before_execute_layout', $layout); // Param. since 0.7.6 +
-Observer::notify('page_delete', $page); +
-Observer::notify('page_edit_before_save', $page); // Added in Rev251 for 0.7.0 +
-Observer::notify('page_edit_after_save', $page); +
-Observer::notify('page_found', $page); +
-Observer::notify('page_not_found', $uri); // $uri parameter as of 0.8.0 +
-Observer::notify('page_requested', $uri); +
- +
-Observer::notify('part_add_before_save', $part); // Since 0.7.0 +
-Observer::notify('part_add_after_save', $part); // Since 0.7.0 +
-Observer::notify('part_edit_after_save', $part); // Since 0.7.0 +
-Observer::notify('part_edit_before_save', $part); // Since 0.7.0 +
- +
-Observer::notify('plugin_after_disable', $plugin); +
-Observer::notify('plugin_after_enable', $plugin); +
-Observer::notify('plugin_after_uninstall', $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, $user->id); // id since 0.7.6 +
-Observer::notify('user_after_delete', $user->name, $user->id); // id since 0.7.6 +
-Observer::notify('user_after_edit', $user->name, $user->id); // id since 0.7.6 +
-Observer::notify('user_edit_view_after_details', $user); // Since 0.7.0 +
- +
-Observer::notify('view_backend_list_plugin', $plugin_name, $plugin); +
-Observer::notify('view_backend_layout_head', CURRENT_PATH); // 0.7.7-dev +
- +
-Observer::notify('view_page_edit_plugins', $page); +
-Observer::notify('view_page_edit_tab_links', $page); // Added in for 0.7.4 +
-Observer::notify('view_page_edit_popup', $page); +
-Observer::notify('view_page_edit_tabs', $page); +
-Observer::notify('view_page_after_edit_tabs', $page); +
- +
-</code>+
 
observer_event_list.txt · Last modified: 2014-08-17 00:42 by mvdkleijn
 
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