xowiki::Package instproc external_name (public)

 <instance of xowiki::Package[i]> external_name \
    [ -parent_id parent_id ] name

Defined in packages/xowiki/tcl/package-procs.tcl

Generate a name with a potentially inserted parent name

Switches:
-parent_id
(optional)
parent_id (for now just for download)
Parameters:
name - name of the wiki page

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::Package instproc external_name xowiki::Package instproc external_name test_xowiki_test_cases->xowiki::Package instproc external_name

Testcases:
xowiki_test_cases
Source code:
set folder [:folder_path -parent_id $parent_id]
if {$folder ne ""} {
  # Return the stripped name for sub-items, the parent has already
  # the language prefix
  # :get_lang_and_name -name $name lang stripped_name
  return $folder$name
}
return $name
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: