acs::db::nsdb-postgresql method call etp create_page (public)
<instance of acs::db::nsdb-postgresql> call etp create_page \ [ -dbn dbn ] -item_id item_id -package_id package_id -name name \ -title title [ -content_type content_type ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer {character varying} {character varying} {character varying}
- Switches:
- -dbn (optional)
- -item_id (required)
- -package_id (required)
- -name (required)
- -title (required)
- -content_type (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select etp__create_page(CAST(:item_id AS integer),CAST(:package_id AS integer),:name,:title,:content_type)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle