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 |
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 Registry (Horde_Registry object) |