xowiki::Package instproc external_name (public)

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

Defined in /var/www/openacs.org/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 (required)
name of the wiki page

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: