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):
%3 content::folder::get_folder_from_package content::folder::get_folder_from_package (public, deprecated) content::folder::get_folder_from_package_not_cached content::folder::get_folder_from_package_not_cached content::folder::get_folder_from_package->content::folder::get_folder_from_package_not_cached ad_log_deprecated ad_log_deprecated (public) content::folder::get_folder_from_package_not_cached->ad_log_deprecated db_string db_string (public) content::folder::get_folder_from_package_not_cached->db_string

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
[ hide source ] | [ make this the default ]
Show another procedure: