Add componentFactory pattern to always create a specific object if one is
authorChuck Hagenbuch <chuck@horde.org>
Sat, 20 Dec 2008 05:20:49 +0000 (00:20 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 20 Dec 2008 05:20:49 +0000 (00:20 -0500)
commit0b3c59b1b8cbafcb02358ddf301d1cad3ff917bc
tree9acf889e858c97050caf5f81d16e949b0bd70f08
parentcfcd064ff3df35485bf0e1e5a83ba0de07acec6d
Add componentFactory pattern to always create a specific object if one is
present, but fall back to the abstract objects without having to think about it
each time. Gets rid of a few duplicate methods also.
framework/Db/lib/Horde/Db/Adapter/Abstract.php
framework/Db/lib/Horde/Db/Adapter/Abstract/Schema.php
framework/Db/lib/Horde/Db/Adapter/Abstract/TableDefinition.php
framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
framework/Db/lib/Horde/Db/Adapter/Postgresql/Schema.php
framework/Db/lib/Horde/Db/Adapter/Sqlite/Schema.php