[commits] Horde branch master updated. d89b086b7ab851a84303b94625b42d47fb68aa93
Chuck Hagenbuch
chuck at horde.org
Mon May 31 19:47:30 UTC 2010
The branch "master" has been updated.
The following is a summary of the commits.
from: 17429190a9f9a8bf80779b35978cac02ebb1e50b
28a5d9e Pass the Horde_Db_Adapter that Mappers use in the constructor, to make it injectable.
65c1c62 Add shorthand column creation methods
821b758 Add shorthand for adding created_at/updated_at to a table.
d89b086 Shorthand for adding foreign key references to a table
-----------------------------------------------------------------------
commit 28a5d9e2b445583cf648db1c4583c24b004dbcf2
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Mon May 31 15:26:44 2010 -0400
Pass the Horde_Db_Adapter that Mappers use in the constructor, to make it injectable.
framework/Rdo/examples/Horde/Rdo/Clotho.php | 57 +++++++----------
framework/Rdo/examples/Horde/Rdo/CountTest.php | 10 ++--
framework/Rdo/examples/Horde/Rdo/DumpXmlTest.php | 12 ++--
framework/Rdo/examples/Horde/Rdo/RelationshipTest.php | 10 ++--
framework/Rdo/examples/Horde/Rdo/Task.php | 19 ++----
framework/Rdo/examples/Horde/Rdo/User.php | 18 ++---
framework/Rdo/examples/Horde/Rdo/clotho.data.php | 10 ++--
framework/Rdo/examples/Horde/Rdo/conf.php.dist | 7 +--
framework/Rdo/lib/Horde/Rdo/Base.php | 5 +-
framework/Rdo/lib/Horde/Rdo/Mapper.php | 49 ++++-----------
framework/Rdo/lib/Horde/Rdo/Query.php | 5 +-
11 files changed, 78 insertions(+), 124 deletions(-)
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/Clotho.php?rt=horde-git&r1=e433901b802136256a094ae1f870853e7f512e02&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/CountTest.php?rt=horde-git&r1=a131ac3699aaf1d1fa917ece25761e7e6d5c351e&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/DumpXmlTest.php?rt=horde-git&r1=a131ac3699aaf1d1fa917ece25761e7e6d5c351e&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/RelationshipTest.php?rt=horde-git&r1=0ba401649b2af17f7568754702d49a630ae3ece3&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/Task.php?rt=horde-git&r1=34fde92a2cd38c530ede281396c13937d32f8554&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/User.php?rt=horde-git&r1=e433901b802136256a094ae1f870853e7f512e02&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/clotho.data.php?rt=horde-git&r1=6d0cc6e933fb0e85db0cf0f58bb8af8c2282cd75&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/examples/Horde/Rdo/conf.php.dist?rt=horde-git&r1=a131ac3699aaf1d1fa917ece25761e7e6d5c351e&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/lib/Horde/Rdo/Base.php?rt=horde-git&r1=e9d4fd1320f1349192afef7d16bddcb63dcb6eb5&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/lib/Horde/Rdo/Mapper.php?rt=horde-git&r1=e9d4fd1320f1349192afef7d16bddcb63dcb6eb5&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
http://git.horde.org/diff.php/framework/Rdo/lib/Horde/Rdo/Query.php?rt=horde-git&r1=7edcf7202bf864591cf65b7b98847a0c688c08c9&r2=28a5d9e2b445583cf648db1c4583c24b004dbcf2
-----------------------------------------------------------------------
commit 65c1c62270f20ec5c3efe73e8c0cec85cce40cc4
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Mon May 31 15:34:25 2010 -0400
Add shorthand column creation methods
Credit to http://github.com/maintainable/framework/commit/7709643d3b88cff39cec717d4c6248ebd373a480
framework/Db/lib/Horde/Db/Adapter/Base/ColumnDefinition.php | 1 -
framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php | 18 +++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Base/ColumnDefinition.php?rt=horde-git&r1=2e856e3669ebc439d13bb8127b5ff29434525ad2&r2=65c1c62270f20ec5c3efe73e8c0cec85cce40cc4
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php?rt=horde-git&r1=b25fa6fb35df02b0ba66db79928790f4da1b4444&r2=65c1c62270f20ec5c3efe73e8c0cec85cce40cc4
-----------------------------------------------------------------------
commit 821b758429dac79121a3e7acc29bb9c48df33dd4
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Mon May 31 15:40:13 2010 -0400
Add shorthand for adding created_at/updated_at to a table.
Credit to http://github.com/maintainable/framework/commit/2875fa7ccd8d6cb8176097bf2c2c00a756326649
Also change Rdo to use created_at/updated_at instead of created/updated
framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php | 9 +++++
framework/Rdo/lib/Horde/Rdo/Mapper.php | 20 +++++------
2 files changed, 18 insertions(+), 11 deletions(-)
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php?rt=horde-git&r1=65c1c62270f20ec5c3efe73e8c0cec85cce40cc4&r2=821b758429dac79121a3e7acc29bb9c48df33dd4
http://git.horde.org/diff.php/framework/Rdo/lib/Horde/Rdo/Mapper.php?rt=horde-git&r1=28a5d9e2b445583cf648db1c4583c24b004dbcf2&r2=821b758429dac79121a3e7acc29bb9c48df33dd4
-----------------------------------------------------------------------
commit d89b086b7ab851a84303b94625b42d47fb68aa93
Author: Chuck Hagenbuch <chuck at horde.org>
Date: Mon May 31 15:45:06 2010 -0400
Shorthand for adding foreign key references to a table
Credit to http://github.com/maintainable/framework/commit/1b2f572c510ebfac71e9681ed9e453e7e86f2314
framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php | 25 ++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Base/TableDefinition.php?rt=horde-git&r1=821b758429dac79121a3e7acc29bb9c48df33dd4&r2=d89b086b7ab851a84303b94625b42d47fb68aa93
More information about the commits
mailing list