content::init (public)

 content::init [ -resolve_index resolve_index ] [ -revision revision ] \
    urlvar rootvar [ content_root ] [ template_root ] [ context ] \
    [ rev_id ] [ content_type ]

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

Initialize the namespace variables for the ::content procs and figures out which template to use and set up the template for the required content type etc.

Switches:
-resolve_index (optional, defaults to "f")
-revision (optional, defaults to "live")
Parameters:
urlvar (required)
rootvar (required)
content_root (optional)
template_root (optional)
context (optional, defaults to "public")
rev_id (optional)
content_type (optional)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: