0.10.0 Change Log
0.10.0 Change Log
- [r3529] Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string)
- [r3530] Fixed php errors in testcase
- [r3533] Added Testcase for 736
- [r3535] cleaning it up a bit
- [r3536] Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully
- [r3538] Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used
- [r3539] Fixed wrong call to _setExecuted in Pager
- [r3540] Fixed _adjustOffset in order to get it working after previous change in Pager
- [r3541] setting default templatse for the payer layout
- [r3542] Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong)
- [r3547] Fixed a bug where the hydration mode HYDRATE_NONE was not recognized when set through setHydrationMode
- [r3552] Merged r3550 from 0.9 to 0.10 branch.
- [r3554] Added Doctrine::HYDRATE_NONE example to "Fetch Only What You Need" subchapter of the "Improving performanc" chapter.
- [r3576] moving ticket to all branches
- [r3587] Merged 3586 into .10 branch.
- [r3602] Fixed a bug in Doctrine_Node_nestedSet::getPath().
- [r3623] Changed versions in Doctrine.php for branches.
- [r3625] Updated package
- [r3639] improved exception message
- [r3641] fix to whereIn to prevent invalid SQL being generated when no params are passed
- [r3642] test showing that using count() with enums does not work.
- [r3643] copying test case for ticket 749 to 0.10 and branch - thanks dbrewer
- [r3646] a previous commit of mine broke method chaining
- [r3652] added 2 enum update tests, one OO and one DQL, the DQL one is currently failing
- [r3672] Added changeset #3624 into 0.9 and 0.10 branches
- [r3673] Merged changeset #3621 into 0.9 and 0.10 branches. Fixed ws in trunk
- [r3674] Merged changeset #3609 and #3599 into 0.9 and 0.10 branches
- [r3675] Merged changeset #3593 into 0.9 and 0.10 branches
- [r3676] Merged changeset #3592 into 0.9 and 0.10 branches
- [r3677] Merged changeset #3590 into 0.9 and 0.10 branches (since we cannot change the API, I created a wrapper to the method name). No changes in tests and I also didnt drop the ownsOne and ownsMany support
- [r3678] Merged changeset #3589 into 0.9 and 0.10 branches
- [r3679] Merged changeset #3588 into 0.9 and 0.10 branches. Fixed ws in trunk
- [r3680] Merged changeset #3579 into 0.9 and 0.10 branches. This change does not break any test case, but it changes the behavior of Sluggable in both branches. TODO is to test this change in real life.
- [r3681] Merged changeset #3578 into 0.9 and 0.10 branches
- [r3682] Merged changeset #3577 into 0.9 and 0.10 branches
- [r3683] Merged changeset #3573 into 0.10 branch