From d9249c0289e0eb72d47a853fa332af654708f478 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 11 Nov 2010 11:53:24 -0700 Subject: [PATCH] doc --- horde/config/hooks.php.dist | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/horde/config/hooks.php.dist b/horde/config/hooks.php.dist index e56b63b0e..6fe260991 100644 --- a/horde/config/hooks.php.dist +++ b/horde/config/hooks.php.dist @@ -319,7 +319,7 @@ class Horde_Hooks // } -// // Preauthenticate hook. See above for description of format. +// // PREAUTHENTICATE HOOK: See above for description of format. // public function preauthenticate($userId, $credentials) // { // // Example #1: Make Horde respect the Unix convention of not @@ -373,7 +373,7 @@ class Horde_Hooks // } -// // Postauthenticate hook. See above for description of format. +// // POSTAUTHENTICATE HOOK: See above for description of format. // public function postauthenticate($userId, $credentials) // { // // Example #1: Validating the user's right to login to Horde by @@ -426,7 +426,7 @@ class Horde_Hooks // } - // Username conversion hook. See above for description of format. +// // USERNAME HOOK: See above for description of format. // public function authusername($userId, $toHorde) // { // // Example #1: Append the virtual domain to the username. @@ -455,13 +455,14 @@ class Horde_Hooks // } - // Post-push hook. See above for format. +// // POST-PUSH HOOK: See above for format. // public function pushapp() // { -// // Code to run if the app is switched to horde +// // Code to run when the app is switched to horde // } - // Add CSS files hook. See above for description of format. + +// // ADD CSS HOOK: See above for description of format. // public function cssfiles($theme) // { // return array( @@ -469,6 +470,7 @@ class Horde_Hooks // ); // } + /** * Allow altering or validating data submitted by a user during a signup * request before any attempts are made to add them to the system. -- 2.11.0