guilhermeblanco
d674b8ead7
Added Doctrine_Pager_Range::isInRange, which checks if a given page is in the range
2008-02-21 16:06:46 +00:00
guilhermeblanco
ec0ebeb195
Updated manual pages and changed documentation naming convention (from process to parse) to follow the API
2008-02-21 14:54:55 +00:00
guilhermeblanco
6ea8a47773
Split of methods in _parseTemplate in 0.10 and trunk
2008-02-21 14:12:01 +00:00
guilhermeblanco
1ab785ac44
Updated pagination chapter in manual (0.10 and trunk). Merged r3870 in trunk
2008-02-21 04:33:03 +00:00
jwage
d47f4ddab4
Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org
2008-01-22 22:52:53 +00:00
guilhermeblanco
ef4798921b
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)
2008-01-17 20:17:44 +00:00
pookey
85846c39bd
setting default templatse for the payer layout
2008-01-17 16:00:52 +00:00
guilhermeblanco
b68eba074b
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)
2008-01-16 20:51:36 +00:00
wernerm
e01809d19a
Fixed returned range bug(s)
2008-01-11 14:50:34 +00:00
romanb
344ab02d95
reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier.
2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a
Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure.
2008-01-05 07:39:25 +00:00
guilhermeblanco
82379e6dc3
added prevention to override page_number mask
2007-12-22 19:04:18 +00:00
guilhermeblanco
132e5c969c
CHG: Changed private variable name (chunkLength to _chunkLength) in Jumping.php and Sliding.php
...
CHG: Added documentation for Doctrine_Pager and Doctrine_Pager_Range* classes
TODO: Finish pagination documentation
2007-12-19 03:07:41 +00:00
pookey
f3e9fe66a8
adding a toString method to pager layout
2007-12-18 12:00:12 +00:00
pookey
d6ec2665ec
fixing typo in exception
2007-12-18 11:54:14 +00:00
guilhermeblanco
a95073abff
CHG: Doctrine coding standards adjustments
...
ADD: Added methods: addMaskReplacement, removeMaskReplacement and cleanMaskReplacements in Doctrine_Pager_Layout. They are responsable to make masks behavior as another masks or values on predefined situations.
2007-12-13 03:07:24 +00:00
guilhermeblanco
d411ba4233
Implemented Doctrine_Pager_Layout, providing a programatically way to generate paginator layout using Doctrine_Pager and Doctrine_Pager_Range components
2007-11-26 16:27:24 +00:00
zYne
2fef2fd1a4
2007-11-26 00:07:09 +00:00
zYne
8711b28765
fixed code formatting
2007-11-25 23:59:54 +00:00
guilhermeblanco
33ed595536
Implemented Doctrine_Pager_Range functionality. This classes enables a powerful way to generate page ranges (Fowler's pattern) to be used coupled with Doctrine_Pager. Already implemented 2 of the most used ranges: Doctrine_Pager_Range_Jumping and Doctrine_Pager_Range_Sliding.
2007-11-25 20:16:14 +00:00
guilhermeblanco
bbfa506da8
CHG: Added Doctrine_Pager object, which provides Paginator functionalities to Doctrine.
2007-11-25 18:33:49 +00:00