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)

Partial Call Graph (max 5 caller/called nodes):
%3 content::deploy content::deploy (public, deprecated) content::init content::init content::deploy->content::init content::get_content_value content::get_content_value (public) content::init->content::get_content_value content::get_template_root content::get_template_root (public) content::init->content::get_template_root content::item::get_best_revision content::item::get_best_revision (public) content::init->content::item::get_best_revision content::item::get_content_type content::item::get_content_type (public) content::init->content::item::get_content_type content::item::get_id content::item::get_id (public) content::init->content::item::get_id

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