From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 1 Jul 2011 17:40:48 -0500 Subject: backed out 648b42a75739, which was a NON-trivial whitespace commit. It broke the Typography class's string replacements, for instance --- user_guide/general/hooks.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'user_guide/general/hooks.html') diff --git a/user_guide/general/hooks.html b/user_guide/general/hooks.html index 1293d12eb..11de40902 100644 --- a/user_guide/general/hooks.html +++ b/user_guide/general/hooks.html @@ -73,7 +73,7 @@ your own scripts in some other location.

Defining a Hook

-

Hooks are defined in application/config/hooks.php file. Each hook is specified as an array with this prototype:

+

Hooks are defined in application/config/hooks.php file. Each hook is specified as an array with this prototype:

$hook['pre_controller'] = array(
@@ -85,14 +85,14 @@ $hook['pre_controller'] = array(
                                );

Notes:
The array index correlates to the name of the particular hook point you want to -use. In the above example the hook point is pre_controller. A list of hook points is found below. +use. In the above example the hook point is pre_controller. A list of hook points is found below. The following items should be defined in your associative hook array:

@@ -122,7 +122,7 @@ $hook['pre_controller'][] = array(
$hook['pre_controller'][] -

This permits you to have the same hook point with multiple scripts. The order you define your array will be the execution order.

+

This permits you to have the same hook point with multiple scripts. The order you define your array will be the execution order.

Hook Points

@@ -131,7 +131,7 @@ $hook['pre_controller'][] = array(
-- cgit v1.2.3-24-g4f1b