Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TPageNavigation

Description

Page Navigation provides navigation for a datagrid

Located in /widget/datagrid/TPageNavigation.php (line 21)


	
			
Method Summary
getPage ()
hide ()
setAction ($action)
setCount ($count)
setDirection ($direction)
setFirstPage ($first_page)
setLimit ($limit)
setOrder ($order)
setPage ($page)
setProperties ($properties)
setWidth ($width)
show ()
Methods
Constructor __construct (line 37)

Constructor method

  • access: public
__construct ()
enableCounters (line 54)

Enable counters

  • access: public
enableCounters ()
getCount (line 115)

Return the total count of records

  • access: public
getCount ()
getLimit (line 89)

Returns the limit of records

  • access: public
getLimit ()
getPage (line 132)

Returns the current page

  • access: public
getPage ()
hide (line 46)

Hide

  • access: public
hide ()
setAction (line 185)

Define the PageNavigation action

  • access: public
setAction ($action)
  • $action: TAction object (fired when the user navigates)
setCount (line 107)

Define the total count of records

  • access: public
setCount ($count)
  • $count: An integer (the total count of records)
setDirection (line 159)

Define the ordering

  • access: public
setDirection ($direction)
  • $direction: asc, desc
setFirstPage (line 141)

Define the first page

  • access: public
setFirstPage ($first_page)
  • $first_page: An integer (the first page)
setLimit (line 81)

Set the Amount of displayed records

  • access: public
setLimit ($limit)
  • $limit: An integer
setOrder (line 150)

Define the ordering

  • access: public
setOrder ($order)
  • $order: A string containint the column name
setPage (line 124)

Define the current page

  • access: public
setPage ($page)
  • $page: An integer (the current page)
setProperties (line 168)

Set the page navigation properties

  • access: public
setProperties ($properties)
  • $properties: array of properties
setWidth (line 98)

Define the PageNavigation's width

  • access: public
setWidth ($width)
  • $width: PageNavigation's width
show (line 193)

Show the PageNavigation widget

  • access: public
show ()