template::list::write_output (public)

 template::list::write_output -name name

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

Writes the output to the connection if output isn't set to template. Will automatically issue an ad_script_abort, if the output has been written directly to the connection instead of through the templating system.

Switches:
-name
(required)

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

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

    switch -- $list_properties(output) {
        csv {
            write_csv -name $name
            ad_script_abort
        }
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: