Add an initial set of dependency injection bindings.
authorChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:22:36 +0000 (17:22 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:22:36 +0000 (17:22 -0500)
commit63302dc5cb057ffb0f0be1b8296e27451161f2f6
treeccc1a1f90018bcbaa7b98ed00c904cf80c8c3d14
parent9bbae4969567fd01d0bf384e5e270ff1ec188ead
Add an initial set of dependency injection bindings.

These are configured automatically when the Registry is set up, access the
current global $conf array, and let you create:
- a Horde_Db instance, by asking for db-reader, db-writer, or db-manager (the
  distinction isn't implemented yet)
- a null Horde_Log_Logger object (our config is still for PEAR Log)
- a real Horde_Cache object as configured in $conf
framework/Core/lib/Horde/Core/Binder/Cache.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Binder/Db.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Binder/Logger.php [new file with mode: 0644]
framework/Core/lib/Horde/Registry.php
framework/Core/package.xml