František Bereň
589d26fc5e
Changed calling $from[0] to using reset($from)
...
changed usage $from[0] according suggestion from @Ocramius to use array
reset function
2014-09-02 08:39:29 +02:00
František Bereň
d48be34696
CS Fixes
2014-08-28 13:17:25 +02:00
František Bereň
a37f99f242
Root selection according other pagination tools
...
changed root selection in Walkers from looping queryComponents to using
$AST->fromClause as other walkers have
2014-07-30 15:55:14 +02:00
František Bereň
114bd2435f
Arbitrary Join count walkers solution
...
Possible solution for Arbitrary Join problem in pagination count
walkers:
https://groups.google.com/forum/#!topic/doctrine-user/rpPYCDNKOU8
Added a condition to test query component against SelectStatement from
clause
2014-07-30 09:56:22 +02:00
Benjamin Morel
ad967e8e22
Fixed documentation for Doctrine\ORM\Tools\Pagination
2012-12-14 13:13:22 +00:00
HarmenM
88d0933a6e
Update lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php
...
replaced the for-loop which adds the InputParameters for a single InputParameter for use with an array instead of a set of scalars.
2012-11-12 12:30:03 +01:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
Benjamin Eberlei
3398d1e287
[DDC-1685] Fix bug in OutputWalker when used on entities with Foreign Key as Primary Key.
2012-05-27 18:33:35 +02:00
Benjamin Eberlei
ab15528fde
Fix CS: AS => as in foreach loops.
2012-03-24 11:16:32 +01:00
Sander Marechal
5dc0081f56
Add support for paginating WHERE NOT ... queries
...
The Pagination tool throws an exception on a DQL query like:
SELECT u FROM User u WHERE NOT (u INSTANCE OF Person)
This is because Paginate does not know about the
Doctrine\ORM\Query\AST\ConditionalFactor which implements the NOT
operator. This patch adds support for that.
2012-01-23 15:42:41 +01:00
Benjamin Eberlei
775071e1ff
[DDC-1613] Merge KnpLabs/Pagerfanta Pagination into a Doctrine\ORM\Tools\Pagination namespace. Thanks to @hobodave, pablo and the knplabs team for developing and maintaining this code.
2012-01-22 13:35:06 +01:00