content::revision::get_title (public)

 content::revision::get_title -revision_id revision_id

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

Returns the title of a particular 'content_revision'.

Switches:
-revision_id (required)
The 'revision_id' of the object
Returns:
The title of the object (text), or empty if not found.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_name_api attachments_name_api (test attachments) content::revision::get_title content::revision::get_title test_attachments_name_api->content::revision::get_title test_content_revision content_revision (test acs-content-repository) test_content_revision->content::revision::get_title db_string db_string (public) content::revision::get_title->db_string attachments::get_title attachments::get_title (public) attachments::get_title->content::revision::get_title

Testcases:
content_revision, attachments_name_api
Source code:
    return [db_string get_title {select title from cr_revisions where revision_id = :revision_id} -default ""]
Generic XQL file:
packages/acs-content-repository/tcl/content-revision-procs.xql

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

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

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