etp::get_live_revision_id (public)

 etp::get_live_revision_id package_id name

Defined in packages/edit-this-page/tcl/etp-procs.tcl

Parameters:
package_id (required)
name (required)
Author:
Luke Pond
Created:
2001-06-10 Returns the published ("live") revision id for the given content item.

Partial Call Graph (max 5 caller/called nodes):
%3 irc::logger::update_log irc::logger::update_log (public) etp::get_live_revision_id etp::get_live_revision_id irc::logger::update_log->etp::get_live_revision_id packages/edit-this-page/www/etp-history.tcl packages/edit-this-page/ www/etp-history.tcl packages/edit-this-page/www/etp-history.tcl->etp::get_live_revision_id packages/edit-this-page/www/etp-publish.tcl packages/edit-this-page/ www/etp-publish.tcl packages/edit-this-page/www/etp-publish.tcl->etp::get_live_revision_id db_1row db_1row (public) etp::get_live_revision_id->db_1row

Testcases:
No testcase defined.
Source code:
        db_1row get_live_revision_id ""
        return $revision_id
Generic XQL file:
packages/edit-this-page/tcl/etp-procs.xql

PostgreSQL XQL file:
<fullquery name="etp::get_live_revision_id.get_live_revision_id">
    <querytext>
	select live_revision as revision_id
          from cr_items i
         where i.parent_id = etp__get_folder_id(:package_id)
           and i.name = :name
</querytext>
</fullquery>
packages/edit-this-page/tcl/etp-procs-postgresql.xql

Oracle XQL file:
<fullquery name="etp::get_live_revision_id.get_live_revision_id">
    <querytext>
	select live_revision as revision_id
          from cr_items i
         where i.parent_id = etp.get_folder_id(:package_id)
           and i.name = :name
</querytext>
</fullquery>
packages/edit-this-page/tcl/etp-procs-oracle.xql

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