content::deploy (public, deprecated)

 content::deploy url_stub

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

Deprecated. Invoking this procedure generates a warning.

render the template and write it to the filesystem with template::util::write_file DEPRECATED: since its birth ~2003 this proc refers to a nonexistent variable and is therefore broken.

Parameters:
url_stub (required)
See Also:
  • modern ways to produce templated content e.g. theme packages or xowiki pages

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) content::init content::init (public) template::adp_parse template::adp_parse (public) template::util::write_file template::util::write_file (public) content::deploy content::deploy content::deploy->ad_log_deprecated content::deploy->content::init content::deploy->template::adp_parse content::deploy->template::util::write_file

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc content::deploy
    set output_path $::acs::pageroot$url_stub

    init url_stub root_path

    set output [template::adp_parse $file_stub]

    template::util::write_file $output_path $output
Generic XQL file:
packages/acs-content-repository/tcl/filter-procs.xql

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

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

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