library/Dot/Paginator.php

Properties

Description

DotBoost Technologies Inc.

DotKernel Application Framework


Classes

Dot_Paginator

Properties

 
 
No 
No 

Description

Process the data used for pagination

Methods

__construct, getCurrentItems, getData, getPages,

__construct( Zend_Db_Select   $select, int   $page = 0, int   $resultsPerPage = 0, ) : Dot_Paginator

Description

Dot_Paginator constructor that sets the main parameters If $page is 0 (zero), Zend_Paginator will not be called

Arguments

Name Type Description Default
$select Zend_Db_Select
$page int [optional] 0
$resultsPerPage int [optional] 0

Return value

Type Description
Dot_Paginator

Tags

Name Description
access public

getCurrentItems( ) : object

Description

Get current items to display on current page

Return value

Type Description
object ArrayIterator

Tags

Name Description
access public

getData( ) : array

Description

Return a multiple array with data and pages

Return value

Type Description
array

Tags

Name Description
access public

getPages( ) : object

Description

Create the page object used in View - paginator method

Return value

Type Description
object

Tags

Name Description
access public

Properties

$_currentItems, $_currentPage, $_itemCountPerPage, $_paginator,

object  private  $_currentItems = null

ArrayIterator


  private  $_currentPage = 0

Curent Pageint


  private  $_itemCountPerPage = 0

Items per page int


  private  $_paginator =

Zend_Paginator


Documentation was generated by DocBlox.

Packages

  • Admin
    • Admin
      Admin Model Here are all the actions related to the user
    • Admin_View
      Admin View Class class that prepare output related to User controller
    • System
      System Model Here are all the actions related to the system settings
    • System_View
      System View Class class that prepare output related to User controller
    • User
      User Model Here are all the actions related to the user
    • User_View
      User View Class class that prepare output related to User controller
    • View
      Admin View abstract over the Dot_Template class
  • DotKernel
    • DotLibrary
    • Frontend
      • Page
        Page Model Dummy class, is not doing anything
      • Page
        Page Model Dummy class, is not doing anything yet
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • User
        User Model Here are all the actions related to the user
      • User_View
        User View Class class that prepare output related to User controller
      • View
        View Model abstract over the Dot_Template class
    • Mobile
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • View
        View Model abstract over the Dot_Template class
    • Rss
      • Sample
        Sample Model Here are all the actions related to the Sample
      • Sample_View
        Sample View Class
      • View
        View class - used for outputting rss content