[commits] Horde branch develop updated. fd138c0ef29b781425737f44c611679e42e110b5

Ralf Lang lang at b1-systems.de
Tue Apr 3 19:15:41 UTC 2012


The branch "develop" has been updated.
The following is a summary of the commits.

from: 7f7063c45e2e65e9bfab5503f1939acde7daec74

4c4ca6b PHPDoc for addRelationship
1f7b1f2 Use Inner Join on many to many. Left Joins ignore the AND table_a.key_field=$key_val part
cbcf21a Add methods to add, remove and check for specific relations This is mostly about many-to-many relations but other types are handled too for consistency
fd138c0 Unit tests for adding, removing and checking many 2 many relations More coverage for the other types is needed

-----------------------------------------------------------------------

commit 4c4ca6b0af7a4f3ad60f8a0572ba5af7583c7221
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue Apr 3 16:39:56 2012 +0200

    PHPDoc for addRelationship

 framework/Rdo/lib/Horde/Rdo/Query.php |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/4c4ca6b0af7a4f3ad60f8a0572ba5af7583c7221

-----------------------------------------------------------------------

commit 1f7b1f213c0b940a912c0eda1bf9b8052ac255b9
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue Apr 3 20:47:41 2012 +0200

    Use Inner Join on many to many. Left Joins ignore the AND table_a.key_field=$key_val part

 framework/Rdo/lib/Horde/Rdo/Query.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/1f7b1f213c0b940a912c0eda1bf9b8052ac255b9

-----------------------------------------------------------------------

commit cbcf21afd98ae58618989e5c6da91cdca05d297a
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue Apr 3 21:08:03 2012 +0200

    Add methods to add, remove and check for specific relations
    This is mostly about many-to-many relations but other types are handled too for consistency

 framework/Rdo/lib/Horde/Rdo/Base.php   |   84 +++++++++++++++++++++++
 framework/Rdo/lib/Horde/Rdo/Mapper.php |  113 ++++++++++++++++++++++++++++++++
 2 files changed, 197 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/cbcf21afd98ae58618989e5c6da91cdca05d297a

-----------------------------------------------------------------------

commit fd138c0ef29b781425737f44c611679e42e110b5
Author: Ralf Lang <lang at b1-systems.de>
Date:   Tue Apr 3 21:09:30 2012 +0200

    Unit tests for adding, removing and checking many 2 many relations
    More coverage for the other types is needed

 framework/Rdo/test/Horde/Rdo/Autoload.php                  |    4 +
 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyA.php       |    5 +
 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyAMapper.php |   13 ++
 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyB.php       |    5 +
 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyBMapper.php |    9 ++
 framework/Rdo/test/Horde/Rdo/Sql/Base.php                  |   78 ++++++++++++
 framework/Rdo/test/Horde/Rdo/fixtures/unit_tests.sql       |   15 +++
 7 files changed, 129 insertions(+), 0 deletions(-)
 create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyA.php
 create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyAMapper.php
 create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyB.php
 create mode 100644 framework/Rdo/test/Horde/Rdo/Objects/ManyToManyBMapper.php

http://git.horde.org/horde-git/-/commit/fd138c0ef29b781425737f44c611679e42e110b5




More information about the commits mailing list