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.

Partial Call Graph (max 5 caller/called nodes):
%3 etp::get_content_items etp::get_content_items (public) etp::get_content_type etp::get_content_type etp::get_content_items->etp::get_content_type etp::get_page_attributes etp::get_page_attributes (public) etp::get_page_attributes->etp::get_content_type etp::make_page etp::make_page (public) etp::make_page->etp::get_content_type irc::logger::update_log irc::logger::update_log (public) irc::logger::update_log->etp::get_content_type packages/edit-this-page/www/etp-edit.tcl packages/edit-this-page/ www/etp-edit.tcl packages/edit-this-page/www/etp-edit.tcl->etp::get_content_type etp::get_application_param etp::get_application_param (public) etp::get_content_type->etp::get_application_param

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: