etp::get_content_type (public)

 etp::get_content_type [ name ]

Defined in packages/edit-this-page/tcl/etp-procs.tcl

Parameters:
name (optional)
specify "index" to get the index_content_type parameter. otherwise returns the content_type parameter. Returns the content_type specified in the package parameters.

Testcases:
No testcase defined.
Source code:
        if { $name eq "index" } {
            set content_type [etp::get_application_param index_content_type]
        } else {
            set content_type [etp::get_application_param content_content_type]
        }
        return $content_type
Generic XQL file:
packages/edit-this-page/tcl/etp-procs.xql

PostgreSQL XQL file:
packages/edit-this-page/tcl/etp-procs-postgresql.xql

Oracle XQL file:
packages/edit-this-page/tcl/etp-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: