xowiki::Page instproc resolve_included_page_name (public)

 <instance of xowiki::Page[i]> resolve_included_page_name page_name

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl

Determine the page object for the specified page name. The specified page name might have the form //some_other_instance/page_name, in which case the page is resolved from some other package instance. If the page_name does not contain a language prefix, the language prefix of the including page is used.

Parameters:
page_name (required)

Testcases:
No testcase defined.
Source code:
if {$page_name ne ""} {
  set page [::${:package_id} resolve_page_name_and_init_context -lang [:lang] $page_name]
  if {$page eq ""} {
    error "Cannot find page '$page_name' to be included in page '${:name}'"
  }
} else {
  set page [self]
}
return $page
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: