The Registry:: class provides a set of methods for communication between Horde applications and keeping track of application configuration information.
Located in /Horde/Horde/Registry.php (line 30)
Hash storing information on each registry-aware application.
Hash storing all of the known services and callbacks.
The list of APIs.
Stack of in-use applications.
Cache of application configurations.
Quick pointer to the current application.
Cached values of the image directories.
Hash storing all of the registered interfaces that applications provide.
Don't update cache at end of request?
Cached values of theme information.
Hash storing all known data types.
Update these cache entries on shutdown.
Are we using registry caching?
Replace any %application% strings with the filesystem path to the application.
Replace any %application% strings with the web path to the application.
Return the hook corresponding to the default package that provides the functionality requested by the $method parameter. $method is a string consisting of "packagetype/methodname".
Output the hook corresponding to the specific package named.
Clear the registry cache.
Return the requested configuration parameter for the specified
application. If no application is specified, the value of $this->_currentApp (the current application) is used. However, if the parameter is not present for that application, the Horde-wide value is used instead. If that is not present, we return null.
Return the current application - the app at the top of the application stack.
Function to work out an application's graphics URI, taking into account any themes directories that may be set up.
Query the initial page for an application - the webroot, if there is no initial_page set, and the initial_page, if it is set.
Returns a method's signature.
Determine if an interface is implemented by an active application.
Determine if a method has been registered with the registry.
Check permissions on an application.
Reads the configuration values for the given application and imports them into the global $conf variable.
Return the hook corresponding to the default package that provides the functionality requested by the $method parameter. $method is a string consisting of "packagetype/methodname".
Output the hook corresponding to the specific package named.
Returns all available registry APIs.
Return a list of the installed and registered applications.
Returns all of the available registry methods, or alternately only those for a specified API.
Returns all of the available registry data types.
Loads the preferences for the current user for the current application and imports them into the global $prefs variable.
Remove the current app from the application stack, setting the current app to whichever app was current before this one took over.
Set the current application, adding it to the top of the Horde application stack. If this is the first application to be pushed, retrieve session information as well.
pushApp() also reads the application's configuration file and sets up its global $conf hash.
Returns a reference to the global Registry object, only creating it if it doesn't already exist.
This method must be invoked as: $registry = &Registry::singleton()
Unload preferences from an application or (if no application is specified) from ALL applications. Useful when a user has logged out but you need to continue on the same page, etc.
After unloading, if there is an application on the app stack to load preferences from, then we reload a fresh set.
Clone should never be called on Registry objects. If it is, die.
Documentation generated on Sun, 30 Jan 2011 05:20:49 +0000 by phpDocumentor 1.4.3