[cvs] [Wiki] changed: Doc/Dev/GlobalsH4

Michael Slusarz slusarz at horde.org
Thu Feb 11 20:24:52 UTC 2010


slusarz  Thu, 11 Feb 2010 15:24:52 -0500

Modified page: http://wiki.horde.org/Doc/Dev/GlobalsH4
New Revision:  1.1
Change log:  cleanups

@@ -1,17 +1,19 @@
  + Global constants and objects

  Horde applications work with a standard set of constants:

-|| HORDE_BASE || The filesystem location of Horde ||
-|| APP_BASE || The filesystem location of the application's base ||
-|| APP_TEMPLATES || The filesystem location of the application's  
template files ||
+|| **HORDE_BASE** || The filesystem location of Horde ||
+|| **[APP]_BASE** || The filesystem location of the application's  
base (**[APP]** = name of current application) ||
+|| **[APP]_TEMPLATES** || The filesystem location of the  
application's template files (**[APP]** = name of current application)  
||

  Applications work with a number of standard global variables and object:

-|| $browser || Information on the client browser (Horde_Browser object) ||
-|| $conf || The configuration hash ||
-|| $injector || The injector instance; used to inject dependencies  
into various framework libraries (Horde_Injector object) ||
-|| $language || The user's preferred language ||
-|| $notification || The notification handler (Horde_Notification object) ||
-|| $prefs || The user preferences (Horde_Prefs object) ||
-|| $registry || The Horde ((Doc/Dev/Registry|Registry))  
(Horde_Registry object) ||
+|| **$api** || CLI object (Horde_Cli object; only if running in CLI mode) ||
+|| **$browser** || Information on the client browser (Horde_Browser  
object) ||
+|| **$conf** || The configuration hash ||
+|| **$injector** || The injector instance; used to inject  
dependencies into various framework libraries (Horde_Injector object) ||
+|| **$language** || The user's preferred language ||
+|| **$notification** || The notification handler (Horde_Notification  
object) ||
+|| **$perms** || Horde_Perms object ||
+|| **$prefs** || The user preferences (Horde_Prefs object) ||
+|| **$registry** || The Horde ((Doc/Dev/Registry|Registry))  
(Horde_Registry object) ||



More information about the cvs mailing list