From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- 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 11de40902..1293d12eb 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