]> wagnertech.de Git - mfinanz.git/commitdiff
Doku nochmal an mosus Refactoring angepasst
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 23 Nov 2012 15:52:31 +0000 (16:52 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 23 Nov 2012 15:52:31 +0000 (16:52 +0100)
SL/DB/Helper/Paginated.pm

index 07e5b5e9caa76aa6e1e1e4dee232cc7994b4c4eb..02e772814039283c71ba54003253d3eb7051ae38 100644 (file)
@@ -135,7 +135,7 @@ The returned hashref will have the following structure:
 
   { per_page => 20,   # how many entries per page
     max      => 5,    # number of the last page
 
   { per_page => 20,   # how many entries per page
     max      => 5,    # number of the last page
-    cur      => 2,    # number of the current page
+    page     => 2,    # number of the current page
     common   => [     # an array of hashes for each page
       ...,
       { active  => 1, # set if this is the active page
     common   => [     # an array of hashes for each page
       ...,
       { active  => 1, # set if this is the active page
@@ -146,7 +146,7 @@ The returned hashref will have the following structure:
     ]
   }
 
     ]
   }
 
-You may assume that C<cur> is sanitized to be within 1..C<max>.
+You may assume that C<page> is sanitized to be within 1..C<max>.
 
 The common list is kept arbitrary by design, so that the algorithm to display
 the paginating controls can be changed by solely changing the
 
 The common list is kept arbitrary by design, so that the algorithm to display
 the paginating controls can be changed by solely changing the