API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TPageNavigation
in package

Page Navigation provides navigation for a datagrid

Tags
version
7.6
subpackage

datagrid

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$action  : mixed
$count  : mixed
$direction  : mixed
$first_page  : mixed
$hidden  : mixed
$limit  : mixed
$order  : mixed
$page  : mixed
$resume  : mixed
$width  : mixed

Methods

__construct()  : mixed
Constructor method
enableCounters()  : mixed
Enable counters
getCount()  : mixed
Return the total count of records
getLimit()  : mixed
Returns the limit of records
getPage()  : mixed
Returns the current page
hide()  : mixed
Hide
setAction()  : mixed
Define the PageNavigation action
setCount()  : mixed
Define the total count of records
setDirection()  : mixed
Define the ordering
setFirstPage()  : mixed
Define the first page
setLimit()  : mixed
Set the Amount of displayed records
setOrder()  : mixed
Define the ordering
setPage()  : mixed
Define the current page
setProperties()  : mixed
Set the page navigation properties
setWidth()  : mixed
Define the PageNavigation's width
show()  : mixed
Show the PageNavigation widget
getResume()  : mixed
Get resume string

Properties

Methods

getCount()

Return the total count of records

public getCount() : mixed

setAction()

Define the PageNavigation action

public setAction( $action) : mixed
Parameters
$action :

TAction object (fired when the user navigates)

setCount()

Define the total count of records

public setCount( $count) : mixed
Parameters
$count :

An integer (the total count of records)

setDirection()

Define the ordering

public setDirection( $direction) : mixed
Parameters
$direction :

asc, desc

setFirstPage()

Define the first page

public setFirstPage(mixed $first_page) : mixed
Parameters
$first_page : mixed

setLimit()

Set the Amount of displayed records

public setLimit( $limit) : mixed
Parameters
$limit :

An integer

setOrder()

Define the ordering

public setOrder( $order) : mixed
Parameters
$order :

A string containint the column name

setPage()

Define the current page

public setPage( $page) : mixed
Parameters
$page :

An integer (the current page)

setProperties()

Set the page navigation properties

public setProperties( $properties) : mixed
Parameters
$properties :

array of properties

setWidth()

Define the PageNavigation's width

public setWidth( $width) : mixed
Parameters
$width :

PageNavigation's width


        
On this page

Search results