From: Michael M Slusarz Date: Thu, 11 Nov 2010 18:53:24 +0000 (-0700) Subject: doc X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d9249c0289e0eb72d47a853fa332af654708f478;p=horde.git doc --- 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.