[cvs] [Wiki] created: Doc/Dev/InjectorH4

Michael Slusarz slusarz at horde.org
Wed Jun 2 20:22:24 UTC 2010


slusarz  Wed, 02 Jun 2010 16:22:24 -0400

Created page: http://wiki.horde.org/Doc/Dev/InjectorH4

+ Globally Defined ((Doc/Dev/Injector|Injector)) Instances

++ Basic injectors:

These injectors return a Horde-configured object with the given name.

Horde_Alarm
Horde_Browser
Horde_Cache
Horde_Core_Auth_Signup
Horde_Db_Adapter_Base
Horde_History
Horde_Lock
Horde_Log_Logger
Horde_Mail
Horde_Memcache
Horde_Notification
Horde_Perms
Horde_Prefs_Identity
Horde_Registry
Horde_Secret
Horde_SessionHandler
Horde_Template
Horde_Token
Net_DNS_Resolver

++ Special injectors:

+++ Horde_Auth

Returns factory object with the following publicly available methods:

$auth = getOb([$driver, [$params]])
> $auth = (Horde_Auth_Base)
> $driver = (string) TODO
> $params = (array) TODO

++ Horde_Data

Returns factory object with the following publicly available methods:

$data = getOb([$driver, [$params]])
> $data = (Horde_Data_Base)
> $driver = (string) TODO
> $params = (array) TODO

++ Horde_Db

Returns factory object with the following publicly available methods:

$db = getOb([$app, [$type]])
> $db = (Horde_Db_Adapter_Base)
> $app = (string) TODO
> $type = (string) TODO

$config = getConfig();
> $config = (array)

++ Horde_Db_Pear

Returns factory object with the following publicly available methods:

$db = getOb([$type])
> $db = (DB)
> $type = (string) 'read' or 'rw'

++ Horde_Editor

Returns factory object with the following publicly available methods:

$editor = getEditor($driver, [$params])
> $editor = (Horde_Editor)
> $driver = (string) TODO
> $params = (array) TODO

++ Horde_Ldap

Returns factory object with the following publicly available methods:

$ldap = getOb([$driver, [$params]])
> $ldap = (Horde_Ldap)
> $driver = (string) TODO
> $params = (array) TODO

$config = getConfig();
> $config = (array)

++ Horde_LoginTasks

Returns factory object with the following publicly available methods:

$lt = getOb($app)
> $lt = (Horde_LoginTasks)
> $app = (string) TODO

++ Horde_Share

Returns factory object with the following publicly available methods:

$share = getScope([$app, [$driver]])
> $share = (Horde_Share)
> $app = (string) TODO
> $driver = (array) TODO

++ Horde_Vfs

Returns factory object with the following publicly available methods:

$vfs = getVfs([$scope])
> $vfs = (VFS)
> $scope = (string) TODO

$config = getVFSConfig([$name])
> $config = (array)
> $name = (string) TODO



More information about the cvs mailing list