template::paginator::get_page (public)

 template::paginator::get_page name rownum

Defined in packages/acs-templating/tcl/paginator-procs.tcl

Calculates the page on which the specified row is located.

Parameters:
name (required)
The reference to the paginator object.
rownum (required)
A number ranging from one to the number of rows in the query result, representing the number of a row therein.
Returns:
A number ranging from one to the number of pages in the query result, representing the number of the page the specified row is located in.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: