acs::db::nsdb-postgresql method call content_template get_path (public)
<instance of acs::db::nsdb-postgresql> call content_template get_path \ [ -dbn dbn ] -template_id template_id \ [ -root_folder_id root_folder_id ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer
- Switches:
- -dbn (optional)
- -template_id (required)
- -root_folder_id (optional, defaults to
"content_template_globals.c_root_folder_id"
)- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select content_template__get_path(CAST(:template_id AS integer),CAST(:root_folder_id AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle