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 ]
Defined in packages/acs-content-repository/tcl/content-template-procs.tcl
- 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.
Source code: set arg_list [list [list name $name ] [list text $text ] [list parent_id $parent_id ] [list is_live $is_live ] [list template_id $template_id ] [list creation_user $creation_user ] [list creation_ip $creation_ip ] [list package_id $package_id ] ] if {$creation_date ne ""} { lappend arg_list [list creation_date $creation_date ] } return [package_exec_plsql -var_list $arg_list content_template new]XQL Not present: Generic, PostgreSQL, Oracle