[cvs] [Wiki] created: Doc/Dev/PrefsH4

Michael Slusarz slusarz at horde.org
Tue Apr 13 23:21:10 UTC 2010


slusarz  Tue, 13 Apr 2010 19:21:10 -0400

Created page: http://wiki.horde.org/Doc/Dev/PrefsH4

[[toc]]

+ Horde_Prefs

++ Pref Types

Documentation on the different pref types can be found in  
{{horde/config/prefs.php.dist}}.  Note: these types define how the  
preference is handled solely in the Options User Interface (UI).  It  
does not define how this data is stored in the preferences backend.

++ Options UI

Managing options is handled exclusively by the {{Horde_Core_Prefs_Ui}}  
class.  User interface within Horde is handled exclusively by the  
{{horde/services/prefs.php}} script.

+++ Special Types

For most preferences, the default types defined by the  
Horde_Core_Prefs_Ui class should be sufficient.  However, there may be  
instances where a more advanced user interface is needed, or further  
processing needs to be done on the input before saving to the  
preferences backend.

Several Application calls are available to allow an application to  
define these handlers.  See  
http://git.horde.org/co.php/framework/Core/lib/Horde/Registry/Application.php  
for details on these special functions. [TODO: better description here  
once API has stabilized]



More information about the cvs mailing list