From 2ab92150a7d811c4b57e766ef35f1d73e4bd043a Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 17 Jan 2012 22:18:27 +0000 Subject: add some info to tools/triggers_list.php git-svn-id: http://piwigo.org/svn/trunk@12921 68402e56-0260-453c-a942-63ccdbb3a9ee --- tools/triggers_list.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'tools/triggers_list.php') diff --git a/tools/triggers_list.php b/tools/triggers_list.php index f23f3c10b..02bb6a076 100644 --- a/tools/triggers_list.php +++ b/tools/triggers_list.php @@ -37,8 +37,9 @@ array( array( 'name' => 'blockmanager_apply', 'type' => 'trigger_action', - 'vars' => array('object' => 'this'), + 'vars' => array('object' => 'menublock'), 'files' => array('include\block.class.php (BlockManager::apply)'), + 'infos' => 'use this trigger to modify existing menu blocks', ), array( 'name' => 'blockmanager_prepare_display', @@ -49,8 +50,9 @@ array( array( 'name' => 'blockmanager_register_blocks', 'type' => 'trigger_action', - 'vars' => array('object' => 'this'), + 'vars' => array('object' => 'menu'), 'files' => array('include\block.class.php (BlockManager::load_registered_blocks)'), + 'infos' => 'use this trigger to add menu block', ), array( 'name' => 'clean_iptc_value', @@ -129,6 +131,7 @@ array( 'type' => 'trigger_event', 'vars' => array('array' => ''), 'files' => array('admin.php'), + 'infos' => 'use this trigger to add links into admin plugins menu', ), array( 'name' => 'get_admins_site_links', @@ -139,8 +142,9 @@ array( array( 'name' => 'get_batch_manager_prefilters', 'type' => 'trigger_event', - 'vars' => array('array' => 'refilters'), + 'vars' => array('array' => 'prefilters'), 'files' => array('admin\batch_manager_global.php'), + 'infos' => 'use this trigger to add prefilters into batch manager global', ), array( 'name' => 'get_categories_menu_sql_where', @@ -231,6 +235,7 @@ array( 'type' => 'trigger_action', 'vars' => array(), 'files' => array('include\common.inc.php'), + 'infos' => 'this action is called just after the common initialization, $conf, $user and $page (partial) variables are availables', ), array( 'name' => 'invalidate_user_cache', @@ -429,6 +434,7 @@ array( 'type' => 'trigger_action', 'vars' => array(), 'files' => array('include\section_init.inc.php'), + 'infos' => 'this action is called after section initilization, $page variable is fully defined', ), array( 'name' => 'loc_visible_user_list', @@ -633,6 +639,7 @@ array( 'type' => 'trigger_event', 'vars' => array('string' => 'comment_action', 'array' => 'comm'), 'files' => array('include\functions_comment.inc.php (insert_user_comment, update_user_comment)'), + 'infos' => 'use this trigger to add conditions on comment validation', ), array( 'name' => 'user_comment_deletion', @@ -689,8 +696,7 @@ array( -- cgit v1.2.3