template::paginator::get_context (public)

 template::paginator::get_context name datasource pages

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

Gets the context cues for a set of pages in the form of a multirow data source with 3 columns: rownum (starting with 1); page (number of the page); and context (a short string such as the first few letters of a name or title). The context cues may be used in the paging interface along with or instead of page numbers. This command is only valid if the contextual option is specified when creating the paginator.

Parameters:
name (required)
The reference to the paginator object.
datasource (required)
The name of the multirow datasource to create
pages (required)
A Tcl list of page numbers.

Partial Call Graph (max 5 caller/called nodes):
%3 template::paginator::get_reference template::paginator::get_reference (private) template::paginator::get_context template::paginator::get_context template::paginator::get_context->template::paginator::get_reference

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