Joostina CMS / CMF v2.* API
  • Docs
  • Package
  • Class
  • Tree
  • Todo
Overview

Packages

  • Components
    • Acls
      • Models
        • Admin
        • Site
    • BlogCategory
      • Models
        • Admin
        • Site
    • Blogs
      • Controllers
        • Admin
        • Site
      • Helpers
      • Models
        • Admin
        • Site
    • Coder
      • Controllers
        • Admin
      • Models
        • Admin
    • Comments
      • Controllers
        • Admin
        • Site
      • Helpers
      • Models
        • Admin
        • Site
    • CommentsCounter
      • Models
        • Admin
        • Site
    • Mainpage
      • Controllers
        • Site
    • News
      • Controllers
        • Admin
        • Site
      • Helpers
      • Models
        • Admin
        • Site
    • Pages
      • Controllers
        • Admin
        • Site
      • Models
        • Site
    • Search
      • Controllers
        • Site
    • Site
      • Controllers
        • Admin
        • Site
    • Sitemap
      • Controllers
        • Admin
        • Site
      • Models
        • Admin
        • Site
    • Test
      • Controllers
        • Site
    • Torrents
      • Controllers
        • Site
    • Users
      • Controllers
        • Admin
        • Site
      • Models
        • Admin
        • Site
  • Compression
  • Core
    • Libraries
      • Arhive
      • Array
      • Attached
      • Autoadmin
      • Autoloader
      • Benchmark
      • Breadcrumbs
      • Cache
      • Config
      • Cookie
      • Csrf
      • Database
        • Drivers
          • Interfaces
      • Datetime
      • Debug
      • Editor
      • Events
      • File
      • Filter
      • Flashmessage
      • Folder
      • Hit
      • Html
      • Image
      • Inflector
      • Inputfilter
      • Libraries
      • Mail
      • Module
      • Nestedset
      • Pager
      • Pages
      • Params
      • Randomizer
      • Request
      • RobotLoader
      • Route
      • Security
      • Session
      • Static
      • String
      • Text
      • Trash
      • Validate
  • Email
  • Extra
    • Libraries
      • Basket
  • Joostina
    • Controller
    • Core
    • Document
  • JSMin
  • Libraries
    • Extra
      • Basket
        • Models
          • Site
  • None
  • Plugins
    • Autoadmin
    • Editor
    • Sitemap
  • SimpleMail
  • Vendors
    • Libraries
      • Email

Classes

  • joosPager

Class joosPager

Работа с постраничной навигацией

Category: Libraries
Copyright: (C) 2007-2012 Joostina Team
Copyright: Copyright © 2009 Leng Sheng Hong
License: License http://www.opensource.org/licenses/mit-license.php Информация об авторах и лицензиях стороннего кода в составе Joostina CMS: docs/copyrights
License: http://www.doophp.com/license
Author: Joostina Team <info@joostina.ru>
Author: Leng Sheng Hong <darkredz@gmail.com>
Version: 1.0
Link: http://www.doophp.com/
Todo: переписать joosPager на joosRoute и привести к общему виду
Located at: core/libraries/pager.php

Methods summary

public
# __construct( $base_url = '', $total_items = 120, $item_per_page = 10, $max_length = 11, $extra_url = '' )
public
# paginate( $page, $item_per_page = 0 )

Properties summary

public array $components
#

Contain the list of components to be used in view. (pages, jump menu, page_size, current_page, total_page)

Contain the list of components to be used in view. (pages, jump menu, page_size, current_page, total_page)

public integer $item_per_page 10
#

Items to be displayed per page

Items to be displayed per page

public integer $current_page 1
#

The current page number

The current page number

public integer $max_length 10
#

Maximum Pager length

Maximum Pager length

public integer $total_item
#

Total items to be split in the pagination

Total items to be split in the pagination

public integer $total_page
#

Total pages in the pagination

Total pages in the pagination

public string $output
#

The pages HTML output

The pages HTML output

public string $base_url
#

The URL prefix for all the pagination links

The URL prefix for all the pagination links

public string $low
#

Position of the record to begin the pagination LIMIT query

Position of the record to begin the pagination LIMIT query

public string $high
#

Position of the record to end the pagination LIMIT query

Position of the record to end the pagination LIMIT query

public string $limit
#

To be use with the pagination LIMIT query LIMIT $limit

To be use with the pagination LIMIT query LIMIT $limit

public $offset
#
Joostina CMS / CMF v2.* API API documentation generated by ApiGen 2.6.1 – Template adapted by @olvlv and Joostina Team