Hooks List » History » Version 3
Eric Davis, 2008-08-13 03:17
Made tables full size
1 | 1 | Jean-Philippe Lang | h1. Hooks |
---|---|---|---|
2 | 1 | Jean-Philippe Lang | |
3 | 2 | Eric Davis | To see the current list of hooks, run @rake redmine:plguins:hook_list@ in the Redmine directory. |
4 | 2 | Eric Davis | |
5 | 1 | Jean-Philippe Lang | h2. Views |
6 | 1 | Jean-Philippe Lang | |
7 | 1 | Jean-Philippe Lang | For views hooks, current project is accessible using @:project@ key of context. |
8 | 1 | Jean-Philippe Lang | |
9 | 3 | Eric Davis | table{width:100%}. |
10 | 1 | Jean-Philippe Lang | |_. Name|_. Description|_. Context| |
11 | 1 | Jean-Philippe Lang | |@view_layouts_base_html_head@|Appends content to the html head of the base layout|| |
12 | 2 | Eric Davis | |
13 | 2 | Eric Davis | h2. Controllers |
14 | 2 | Eric Davis | |
15 | 3 | Eric Davis | table{width:100%}. |
16 | 2 | Eric Davis | |_. Name|_. Description|_. Context| |
17 | 2 | Eric Davis | |@:controller_issues_bulk_edit_before_save@|Passes the current issue and the params to the hook before saving. This can be used to set attributes on the issues.| @:params, :issue@| |
18 | 2 | Eric Davis | |
19 | 2 | Eric Davis | h2. Helpers |
20 | 2 | Eric Davis | |
21 | 3 | Eric Davis | table{width:100%}. |
22 | 2 | Eric Davis | |_. Name|_. Description|_. Context| |
23 | 2 | Eric Davis | |@:helper_issues_show_detail_after_setting@|Passes data to the hook to allow it to set the label and value.|@:detail, :label, :value, :old_value@| |