pa_is_type_in_package (private)

 pa_is_type_in_package item_id content_type [ package_id ]

Defined in packages/photo-album/tcl/photo-album-procs.tcl

returns "t" if item_id is of the specified content_type and is a child of the root folder of the package, else returns "f"

Parameters:
item_id (required)
content_type (required)
package_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 pa_is_album_p pa_is_album_p (public) pa_is_type_in_package pa_is_type_in_package pa_is_album_p->pa_is_type_in_package pa_is_folder_p pa_is_folder_p (public) pa_is_folder_p->pa_is_type_in_package pa_is_photo_p pa_is_photo_p (public) pa_is_photo_p->pa_is_type_in_package db_string db_string (public) pa_is_type_in_package->db_string pa_get_root_folder pa_get_root_folder (public) pa_is_type_in_package->pa_get_root_folder

Testcases:
No testcase defined.
[ show source ]
Show another procedure: