template::list::page_get_rowcount (public)

 template::list::page_get_rowcount -name name

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

Gets the number of rows across all pages in a paginated result set.

Switches:
-name (required)
Name of the list builder list for which you want the number of rows in the result set.

Partial Call Graph (max 5 caller/called nodes):
%3 template::list::get_reference template::list::get_reference (public) template::paginator template::paginator (public) template::list::page_get_rowcount template::list::page_get_rowcount template::list::page_get_rowcount->template::list::get_reference template::list::page_get_rowcount->template::paginator

Testcases:
No testcase defined.
Source code:
    # Get an upvar'd reference to list_properties
    get_reference -name $name

    if { $list_properties(page_size) eq "" || $list_properties(page_size) == 0 } {
        return {}
    }

    return [template::paginator get_row_count $list_properties(paginator_name)]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: