|
Doctrine 1.2.4
|
Inherits Doctrine_Pager_Range.
Public Member Functions | |
| getChunkLength () | |
| getOption ($option) | |
| getOptions () | |
| getPager () | |
| isInRange ($page) | |
| rangeAroundPage () | |
| setPager ($pager) | |
Protected Member Functions | |
| _initialize () | |
| _setChunkLength ($chunkLength) | |
| _setOptions ($options) | |
Definition at line 33 of file Sliding.php.
|
protected |
_initialize
Initialize Doctrine_Pager_Range_Sliding and does custom assignments
Definition at line 47 of file Sliding.php.
|
protected |
_setChunkLength
Defines the size of the chunk
| $chunkLength | Chunk length |
Definition at line 76 of file Sliding.php.
|
protectedinherited |
_setOptions
Defines the subclass implementation options
| $options | Custom Doctrine_Pager_Range implementation options |
Definition at line 132 of file Range.php.
| Doctrine_Pager_Range_Sliding::getChunkLength | ( | ) |
getChunkLength
Returns the size of the chunk defined
Definition at line 63 of file Sliding.php.
|
inherited |
getOption
Returns the custom Doctrine_Pager_Range implementation offset option
Definition at line 113 of file Range.php.
|
inherited |
getOptions
Returns the custom Doctrine_Pager_Range implementation options
Definition at line 101 of file Range.php.
|
inherited |
getPager
Returns the Doctrine_Pager object related to the pager range
Definition at line 70 of file Range.php.
|
inherited |
isInRange
Check if a given page is in the range
| $page | Page to be checked |
| Doctrine_Pager_Range_Sliding::rangeAroundPage | ( | ) |
rangeAroundPage
Calculate and returns an array representing the range around the current page
Definition at line 93 of file Sliding.php.
|
inherited |
setPager
Defines the Doctrine_Pager object related to the pager range and automatically (re-)initialize Doctrine_Pager_Range
| $pager | Doctrine_Pager object related to the pager range |
Definition at line 84 of file Range.php.