============================== Global constants and objects ============================== **This information is valid for Horde 3 only. See Doc/Dev/Globals for Horde 4 or `Doc/Dev/Globals`_ for Horde 5 and later.** .. _`Doc/Dev/Globals`: https://wiki.horde.org/Doc/Dev/Globals?referrer=Doc%2FDev%2FGlobalsH3 Horde applications work with a standard set of constants: +-------------+--------------------------------------------------------------+ |HORDE_BASE |The filesystem location of Horde (defined in each application)| +=============+==============================================================+ |APP_BASE |The filesystem location of the application | +-------------+--------------------------------------------------------------+ |APP_TEMPLATES|The filesystem location of the application's template files | +-------------+--------------------------------------------------------------+ |APP_VERSION |The version number of the application (not a CVS revision tag)| +-------------+--------------------------------------------------------------+ Applications work with a number of standard global variables and object: +---------+---------------------------------+ |$conf |The configuration hash | +=========+=================================+ |$prefs |The user preferences | +---------+---------------------------------+ |$browser |Information on the client browser| +---------+---------------------------------+ |$registry|The Horde `Registry`_ | +---------+---------------------------------+ |$language|The user's preferred language | +---------+---------------------------------+ .. _`Registry`: https://wiki.horde.org/Doc/Dev/RegistryH3?referrer=Doc%2FDev%2FGlobalsH3