[dev] [PATCH] Identity hooks

Bernard Blackham b-horde at blackham.com.au
Mon Jan 26 19:22:29 PST 2004


On Mon, Jan 26, 2004 at 09:03:04PM -0500, Chuck Hagenbuch wrote:
> >$conf['hooks']['identity']['fullname'] = true;
> 
> Why don't the existing preferences hooks work for this?

Because I didn't fully read the comments in hooks.php :)

Thanks,

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>
-------------- next part --------------
--- horde/config/prefs.php.dist.orig	Tue Jan 27 11:16:37 2004
+++ horde/config/prefs.php.dist	Tue Jan 27 11:19:22 2004
@@ -51,6 +51,12 @@
  *               enum:  Use static list of elements...similar to 'select'
  *
  *   enum: Static list of elements.
+ *
+ *   hook: Call a hook function for the value of this preference
+ *            true:  Will call the function _prefs_hook_<prefname>
+ *                   to fill in the value of this preference.
+ *                   See hooks.php for more details.
+ *           false:  Normal behaviour - no hook is called.
  */
 
 $prefGroups['language'] = array(


More information about the dev mailing list