\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Globally Defined <a href="https://wiki.horde.org/Doc/Dev/Injector">Injector</a> Instances}
\section{Basic injectors:}
These injectors return a Horde-configured object with the given name.

Horde\_Alarm<br />
Horde\_Browser<br />
Horde\_Cache<br />
Horde\_Core\_Auth\_Signup<br />
Horde\_Db\_Adapter\_Base<br />
Horde\_History<br />
Horde\_Lock<br />
Horde\_Log\_Logger<br />
Horde\_Mail<br />
Horde\_Memcache<br />
Horde\_Notification<br />
Horde\_Perms<br />
Horde\_Registry<br />
Horde\_Secret<br />
Horde\_SessionHandler<br />
Horde\_Service\_Facebook<br />
Horde\_Service\_Twitter<br />
Horde\_Template<br />
Horde\_Token<br />
Net\_DNS\_Resolver

\section{Special injectors:}
\subsection{Horde\_Auth}
Returns factory object with the following publicly available methods:

\$auth = getAuth([\$driver, [\$params]])

\begin{quote}
\$auth = (Horde\_Auth\_Base)<br />
\$driver = (string) The driver. Defaults to the configured driver.<br />
\$params = (array) Additional parameters to pass to the driver. Defaults to the configured parameters.


\end{quote}
\subsection{Horde\_Ajax}
Returns factory object with the following publicly available methods:

\$ajax = getAjax(\$app, \$vars, [\$action])

\begin{quote}
\$ajax = (Horde\_Core\_Ajax\_Application)<br />
\$vars = (Horde\_Variables) The Form/Request data.<br />
\$action = (string) The ajax action to perform.


\end{quote}
\subsection{Horde\_Ajax\_Imple}
Returns factory object with the following publicly available methods:

\$imple = getImple(\$driver[, \$params[, \$noattach]])

\begin{quote}
\$driver = (mixed) Either a driver name or an array with 2 elements (application, driver)<br />
\$params = (array) Parameters needed by driver.<br />
\$noattach = (boolean) If true, don't attach to page. Defaults to false.


\end{quote}
\subsection{Horde\_Crypt}
Returns factory object with the following publicly available methods:

\$crypt = getCrypt(\$driver, [\$params])

\begin{quote}
\$crypt = (Horde\_Crypt)<br />
\$driver = (string) The driver.<br />
\$params = (array) Additional parameters to pass to the driver.


\end{quote}
\subsection{Horde\_Data}
Returns factory object with the following publicly available methods:

\$data = getData([\$driver, [\$params]])

\begin{quote}
\$data = (Horde\_Data\_Base)<br />
\$driver = (string) The driver.<br />
\$params = (array) Driver parameters


\end{quote}
\subsection{Horde\_Db}
Returns factory object with the following publicly available methods:

\$db = getDb([\$app, [\$type]])

\begin{quote}
\$db = (Horde\_Db\_Adapter\_Base)<br />
\$app = (string) The application. Defaults to 'horde'.<br />
\$type = (string) The type, i.e. the library that is providing parameters for an SQL driver, like 'prefs' or 'alarm'.


\end{quote}
\$config = getConfig();

\begin{quote}
\$type = (string) The type, i.e. the library that is providing parameters for an SQL driver, like 'prefs' or 'alarm'.


\end{quote}
\subsection{Horde\_Db\_Pear}
Returns factory object with the following publicly available methods:

\$db = getDb([\$type])

\begin{quote}
\$db = (DB\_common)<br />
\$type = (string) 'read' or 'rw'


\end{quote}
\subsection{Horde\_Editor}
Returns factory object with the following publicly available methods:

\$editor = getEditor(\$driver, [\$params])

\begin{quote}
\$editor = (Horde\_Editor)<br />
\$driver = (string) The editor driver, e.g. 'Ckeditor' or 'Fckeditor'.<br />
\$params = (array) Additional parameters to pass to the driver (will override Horde defaults).


\end{quote}
\subsection{Horde\_Http\_Client}
Returns factory object with the following publicly available methods:

\$http = getClient([\$params])

\begin{quote}
\$http = (Horde\_Http\_Client)<br />
\$params = (array) Additional parameters to pass to the driver (will override Horde defaults).


\end{quote}
\subsection{Horde\_Ldap}
Returns factory object with the following publicly available methods:

\$ldap = getLdap([\$driver, [\$params]])

\begin{quote}
\$ldap = (Horde\_Ldap)<br />
\$app = (string) The application. Defaults to 'horde'.<br />
\$type = (string) The type, i.e. the library that is providing parameters for an SQL driver, like 'prefs' or 'alarm'.


\end{quote}
\$config = getConfig(\$type);

\begin{quote}
\$type = (string) The type, i.e. the library that is providing parameters for an SQL driver, like 'prefs' or 'alarm'.


\end{quote}
\subsection{Horde\_LoginTasks}
Returns factory object with the following publicly available methods:

\$lt = getLoginTasks(\$app)

\begin{quote}
\$lt = (Horde\_LoginTasks)<br />
\$app = (string) The current application.


\end{quote}
\subsection{Horde\_Prefs}
Returns factory object with the following publicly available methods:

\$prefs = getPrefs([\$scope[, \$opts]])

\begin{quote}
\$prefs = (Horde\_Prefs)<br />
\$scope = (string) Scope for this set of preferences.  Default is 'horde'.<br />
\$opts = (array) Options for the Horde\_Prefs constructor (see Horde\_Prefs::factory()). Additionally, if 'session' is true, will return a session instance.


\end{quote}
\subsection{Horde\_Prefs\_Identity}
Returns factory object with the following publicly available methods:

\$identity = getIdentity([\$user, [\$driver]])

\begin{quote}
\$identity = (Horde\_Prefs\_Identity)<br />
\$user = (string) The user to use, if not the current user<br />
\$driver = (string) The identity driver. Either empty (use default driver) or an application name.


\end{quote}
\subsection{Horde\_Share}
Returns factory object with the following publicly available methods:

\$share = getScope([\$app, [\$driver]])

\begin{quote}
\$share = (Horde\_Share)<br />
\$app = (string) The application scope to use, if not the current app.<br />
\$driver = (array) The share driver. Either empty (use default driver from \$conf) or a driver name.


\end{quote}
\subsection{Horde\_Text\_Filter}
Returns factory object with the following publicly available methods:

\$filter = getFilter(\$driver[, \$params])

\begin{quote}
\$filter = (Horde\_Text\_Filter\_Base)<br />
\$driver = (string) The driver name.<br />
\$params = (array) Parameters needed by the filter driver.


\end{quote}
\$text = filter(\$intext[, \$filters[, \$params]])

\begin{quote}
\$text = (string) The filtered text.<br />
\$intext = (string) The original text.<br />
\$filters = (mixed) A list of filter names or a single filter name.<br />
\$params = (array) The list of params to use with each filter in \$filters.


\end{quote}
\subsection{Horde\_Tree}
Returns factory object with the following publicly available methods:

\$tree = getTree(\$name, \$renderer, [\$params]])

\begin{quote}
\$tree = (Horde\_Tree)<br />
\$name = (string) The name of the tree instance.<br />
\$renderer = (string) The type of tree renderer (generally 'html', 'javascript', or 'select').<br />
\$params = (array) Any additional parameters needed.


\end{quote}
\subsection{Horde\_Vfs}
Returns factory object with the following publicly available methods:

\$vfs = getVfs([\$scope])

\begin{quote}
\$vfs = (VFS)<br />
\$scope = (string) The vfs scope to return, usually an application name.


\end{quote}
\$config = getVfsConfig([\$name])

\begin{quote}
\$config = (array)<br />
\$name = (string) The vfs scope to return, usually an application name.


\end{quote}
\end{document}
