Pass group name to prefsCallback method
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 9 Dec 2009 21:42:52 +0000 (14:42 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 9 Dec 2009 23:33:15 +0000 (16:33 -0700)
framework/Prefs/lib/Horde/Prefs/Ui.php

index e4a980e..85231ab 100644 (file)
  * 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) {