faq::get_instance_info (public)

 faq::get_instance_info -arrayname arrayname -faq_id faq_id

Defined in packages/faq/tcl/faq-procs.tcl

returns the name of the FAQ and whether to display questions and their answers all on the listing page or on separate pages

Switches:
-arrayname (required)
-faq_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_faq_create_and_retrieve faq_create_and_retrieve (test faq) faq::get_instance_info faq::get_instance_info test_faq_create_and_retrieve->faq::get_instance_info db_0or1row db_0or1row (public) faq::get_instance_info->db_0or1row packages/faq/www/categories/categorize.tcl packages/faq/ www/categories/categorize.tcl packages/faq/www/categories/categorize.tcl->faq::get_instance_info packages/faq/www/one-faq.tcl packages/faq/ www/one-faq.tcl packages/faq/www/one-faq.tcl->faq::get_instance_info

Testcases:
faq_create_and_retrieve
Source code:
        upvar $arrayname faq_info
        db_0or1row get_info "" -column_array faq_info
Generic XQL file:
<fullquery name="faq::get_instance_info.get_info">
    <querytext>	
        select faq_name, separate_p from faqs
        where faq_id = :faq_id
        </querytext>
</fullquery>
packages/faq/tcl/faq-procs.xql

PostgreSQL XQL file:
packages/faq/tcl/faq-procs-postgresql.xql

Oracle XQL file:
packages/faq/tcl/faq-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: