content::item::get_title (public)

 content::item::get_title -item_id item_id [ -is_live is_live ]

Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Get the title for the item. If a live revision for the item exists, use the live revision. Otherwise, use the latest revision.

Switches:
-item_id (required)
The item_id of the content item
-is_live (optional, defaults to "f")
If true, return the title of the live revision, otherwise the one of the latest revision (default). Boolean, 't' or 'f'.
Returns:
The title of the item
See Also:

Testcases:
No testcase defined.
Source code:
    return [package_exec_plsql -var_list [list  [list item_id $item_id ]  [list is_live $is_live ]  ] content_item get_title]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/content-item-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/content-item-procs-oracle.xql

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