- Publicity: Public Only All
content-template-procs.tcl
Procedures for content template
- Location:
- packages/acs-content-repository/tcl/content-template-procs.tcl
- Created:
- 2004-06-09
- Author:
- Dave Bauer <dave@thedesignexperience.org>
- CVS Identification:
$Id: content-template-procs.tcl,v 1.12 2018/08/15 16:24:28 gustafn Exp $
Procedures in this file
- content::template::delete (public)
- content::template::get_path (public)
- content::template::get_root_folder (public)
- content::template::is_template (public)
- content::template::new (public)
Detailed information
content::template::delete (public)
content::template::delete -template_id template_id
- Switches:
- -template_id (required)
- Returns:
- 0
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
content::template::get_path (public)
content::template::get_path -template_id template_id \ [ -root_folder_id root_folder_id ]
- Switches:
- -template_id (required)
- -root_folder_id (optional)
- Returns:
- "/" delimited path from root to supplied template_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
content::template::get_root_folder (public)
content::template::get_root_folder
- Returns:
- folder_id of Template Root Folder
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
content::template::is_template (public)
content::template::is_template -template_id template_id
- Switches:
- -template_id (required)
- Returns:
- t or f
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
content::template::new (public)
content::template::new -name name [ -text text ] \ [ -parent_id parent_id ] [ -is_live is_live ] \ [ -template_id template_id ] [ -creation_date creation_date ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -package_id package_id ]
- Switches:
- -name (required)
- -text (optional)
- -parent_id (optional)
- -is_live (optional)
- -template_id (optional)
- -creation_date (optional)
- -creation_user (optional)
- -creation_ip (optional)
- -package_id (optional)
- Returns:
- template_id of created template
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.