acs::db::nsdb-postgresql method call content_type register_template (public)
<instance of acs::db::nsdb-postgresql> call content_type register_template \ [ -dbn dbn ] -content_type content_type -template_id template_id \ -use_context use_context [ -is_default is_default ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} integer {character varying} boolean
- Switches:
- -dbn (optional)
- -content_type (required)
- -template_id (required)
- -use_context (required)
- -is_default (optional, defaults to
"f")- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select content_type__register_template(:content_type,CAST(:template_id AS integer),:use_context,:is_default)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)