content::folder::get_folder_from_package_not_cached (public, deprecated)
content::folder::get_folder_from_package_not_cached \ -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 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):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc content::folder::get_folder_from_package_not_cached return [db_string get_folder_id { select folder_id from cr_folders where package_id = :package_id }]XQL Not present: Generic, PostgreSQL, Oracle