etp::get_attribute_pretty_name (public)
etp::get_attribute_pretty_name attribute_desc [ page_name ]
Defined in packages/edit-this-page/tcl/etp-procs.tcl
- Parameters:
- attribute_desc (required)
- page_name (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set pretty_name [lindex $attribute_desc 1] # handle customized standard attribute names # which are set up with etp application parameters set attr_name [lindex $attribute_desc 0] if {$attr_name in { title description content }} { if { $page_name eq "index" } { set param_name "index_${attr_name}_attr_name" } else { set param_name "content_${attr_name}_attr_name" } ns_log debug "get_attribute_pretty_name: Asking for $param_name" set pretty_name [etp::get_application_param $param_name] } return $pretty_nameGeneric 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