IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • Page

Class Page

CLinkPager
Extended by application\core\widgets\Page
Namespace: application\core\widgets
Located at system/core/widgets/Page.php

Methods summary

public
# init( )

Initializes the pager by setting some default property values.

Initializes the pager by setting some default property values.

protected array
# createPageButtons( )

Creates the page buttons.

Creates the page buttons.

Returns

array
a list of page buttons (in HTML code).
public
# run( )

Executes the widget. This overrides the parent implementation by displaying the generated page buttons.

Executes the widget. This overrides the parent implementation by displaying the generated page buttons.

public
# setCurrentUrl( string $value = null )

设置当前页url

设置当前页url

Parameters

$value
默认为null
public
# setFooter( string $value = null )

设置翻页样式之后要加入的文本

设置翻页样式之后要加入的文本

Parameters

$value
默认为null
protected string
# createPageUrl( integer $page )

重写createPageUrl方法,实现url自定义,增加对ajax的处理

重写createPageUrl方法,实现url自定义,增加对ajax的处理

Parameters

$page

Returns

string

Author

gzwwb gzwwb@ibos.com.cn

Properties summary

public integer $maxButtonCount
# 5
public string $currentUrl

当前页面Url

当前页面Url

#
public string $type

链接的类型 默认为空,值可以为ajax

链接的类型 默认为空,值可以为ajax

Author

gzwwb gzwwb@ibos.com.cn
# ''
public application\core\widgets\Page::$type $ajaxUrl

ajax提交的地址或者函数,值示例:getAjaxPage(参数1,参数2...);,JS函数

ajax提交的地址或者函数,值示例:getAjaxPage(参数1,参数2...);,JS函数

Author

gzwwb gzwwb@ibos.com.cn
# ''
IBOS open source API documentation generated by ApiGen