From 2925f479e9e47e5f069c02aebc24bfebdfbfea9c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 9 Dec 2009 14:42:52 -0700 Subject: [PATCH] Pass group name to prefsCallback method --- framework/Prefs/lib/Horde/Prefs/Ui.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/framework/Prefs/lib/Horde/Prefs/Ui.php b/framework/Prefs/lib/Horde/Prefs/Ui.php index e4a980e66..85231abdc 100644 --- a/framework/Prefs/lib/Horde/Prefs/Ui.php +++ b/framework/Prefs/lib/Horde/Prefs/Ui.php @@ -10,12 +10,12 @@ * the "Save Changes" and "Undo Changes" buttons. * * The following Application API callbacks are available: - * prefsCallback - TODO - * prefsInit - TODO - * prefsMenu - TODO - * prefsSpecial - TODO - * prefsSpecialGenerate - TODO - * prefsStatus - TODO + * prefsCallback($group) - TODO + * prefsInit($group = '') - TODO + * prefsMenu() - TODO + * prefsSpecial($pref, $updated) - TODO + * prefsSpecialGenerate($pref) - TODO + * prefsStatus() - TODO * * Copyright 2001-2009 The Horde Project (http://www.horde.org/) * @@ -192,7 +192,7 @@ class Horde_Prefs_Ui if ($updated) { if ($registry->hasAppMethod($app, 'prefsCallback')) { - $registry->callAppMethod($app, 'prefsCallback'); + $registry->callAppMethod($app, 'prefsCallback', array('args' => array($group))); } if ($prefs instanceof Horde_Prefs_Session) { -- 2.11.0