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.

Switches:
-package_id (required)
Author:
Timo Hentschel <timo@timohentschel.de>
Created:
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_log_deprecated ad_log_deprecated (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_log_deprecated content::folder::get_folder_from_package->content::folder::get_folder_from_package_not_cached content::folder::get_folder_from_package->util_memoize

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc content::folder::get_folder_from_package
    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: