apm_pretty_name_for_file_type typeWhat it does:
Returns the pretty name corresponding to a particular file type key (memoizing to save a database hit here and there).Defined in: /web/philip/packages/acs-core/apm-procs.tcl
Source code:
return [util_memoize [list db_string -default "Unknown" " select pretty_name from apm_package_file_types where file_type_key = '[db_quote $type]' "]]