- Publicity: Public Only All
faq-procs.tcl
Faq Library - Reply Handling
- Location:
- packages/faq/tcl/faq-procs.tcl
- Created:
- 2004-03-31
- Authors:
- Ben Adida
- by Gerardo Morales
Procedures in this file
- faq::get_instance_info (public)
- faq::new (public)
Detailed information
faq::get_instance_info (public)
faq::get_instance_info -arrayname arrayname -faq_id faq_id
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):
- Testcases:
- faq_create_and_retrieve
faq::new (public)
faq::new [ -faq_id faq_id ] -faq_name faq_name [ -separate ] \ [ -package_id package_id ] [ -user_id user_id ] \ [ -creation_ip creation_ip ]
Creates a new FAQ.
- Switches:
- -faq_id (optional)
- -faq_name (required)
- -separate (optional, boolean)
- -package_id (optional)
- -user_id (optional)
- -creation_ip (optional)
- Returns:
- integer faq_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- faq_create_and_retrieve