content::revision::export_to_filesystem-text (private)

 content::revision::export_to_filesystem-text -revision_id revision_id \
    -filename filename

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

Export the content of the provided revision to the named file in the filesystem.

Switches:
-revision_id (required)
-filename (required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_string db_string (public) content::revision::export_to_filesystem-text content::revision::export_to_filesystem-text content::revision::export_to_filesystem-text->db_string

Testcases:
No testcase defined.
Source code:
    set content [db_string select_object_content {
        select content from cr_revisions where revision_id = :revision_id
    }]
    set fp [open $filename w]
    puts $fp $content
    close $fp
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: