publish::handle_item (private)

 publish::handle_item item_id [ args... ]

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

Parameters:
item_id (required)
The id of the item to be rendered
Options:
-revision_id
{default The live revision} The revision which is to be used when rendering the item
-no_merge
Indicates that the item should NOT be merged with its template. This option is used to avoid infinite recursion.
-refresh
Re-render the item even if it exists in the cache. Use with caution - circular dependencies may cause infinite recursion if this option is specified
-embed
Signifies that the content should be statically embedded directly in the HTML. If this option is not specified, the item may be dynamically referenced, f.ex. using the <include> tag
-html
Extra HTML parameters to be passed to the item handler, in format {name value name value ...}
Returns:
The rendered HTML for the item, or an empty string on failure
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 content::item::get content::item::get (public) content::item::get_live_revision content::item::get_live_revision (public) publish::get_mime_handler publish::get_mime_handler (public) template::util::get_opts template::util::get_opts (public) template::util::is_nil template::util::is_nil (public) publish::handle_item publish::handle_item publish::handle_item->content::item::get publish::handle_item->content::item::get_live_revision publish::handle_item->publish::get_mime_handler publish::handle_item->template::util::get_opts publish::handle_item->template::util::is_nil

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