fs::get_object_prettyname (public)
fs::get_object_prettyname -object_id object_id
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Select a pretty name for this object. If title is empty, returns name.
- Switches:
- -object_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_add_delete_copy
Source code: return [db_string select_object_prettyname {} -default $object_id]Generic XQL file: <fullquery name="fs::get_object_prettyname.select_object_prettyname"> <querytext> select coalesce(title,name) as prettyname from fs_objects where object_id = :object_id </querytext> </fullquery>packages/file-storage/tcl/file-storage-procs.xql
PostgreSQL XQL file: packages/file-storage/tcl/file-storage-procs-postgresql.xql
Oracle XQL file: packages/file-storage/tcl/file-storage-procs-oracle.xql