content::folder::get_folder_from_package (public, deprecated)

 content::folder::get_folder_from_package -package_id package_id

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

Deprecated. Invoking this procedure generates a warning.

-package_id (required)
Timo Hentschel <>
2005-01-06 Returns the folder_id of the package instance. Cached DEPRECATED: this proc assumes there will be just one folder for each package, which is not true in general!

See Also:
  • other packages as file-storage or xowiki define the concept of a root_folder. This is explicitly meant to be unique for each package. If your package can guarantee there will only be one folder per package, you should write your own api for it.

Partial Call Graph (max 5 caller/called nodes):
%3 ad_get_tcl_call_stack ad_get_tcl_call_stack (public) content::folder::get_folder_from_package_not_cached content::folder::get_folder_from_package_not_cached (public, deprecated) util_memoize util_memoize (public) content::folder::get_folder_from_package content::folder::get_folder_from_package content::folder::get_folder_from_package->ad_get_tcl_call_stack content::folder::get_folder_from_package->content::folder::get_folder_from_package_not_cached content::folder::get_folder_from_package->util_memoize

No testcase defined.
Source code:
ns_log Notice "Deprecated proc content::folder::get_folder_from_package used:\n[ad_get_tcl_call_stack]"

    return [util_memoize [list content::folder::get_folder_from_package_not_cached -package_id $package_id]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: