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):
- 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 $fpGeneric 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