publish::item_include_tag (public)

 publish::item_include_tag item_id [ extra_args ]

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

Parameters:
item_id - The item id
extra_args (optional) - {} A list of extra parameters to be passed to the include tag, in form {name value name value ...}
Returns:
The HTML for the include tag
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 publish::handle::text publish::handle::text (public) publish::item_include_tag publish::item_include_tag publish::handle::text->publish::item_include_tag content::item::get_virtual_path content::item::get_virtual_path (public) publish::item_include_tag->content::item::get_virtual_path publish::html_args publish::html_args (private) publish::item_include_tag->publish::html_args

Testcases:
No testcase defined.
Source code:

  # Concatenate all the extra html arguments into a string
  set extra_html [publish::html_args $extra_args]""
  set item_url [::content::item::get_virtual_path -item_id $item_id]
  return "<include src=\"$item_url\" $extra_html item_id=$item_id>"
Generic XQL file:
packages/acs-content-repository/tcl/publish-procs.xql

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

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

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