pa_is_photo_p (public)

 pa_is_photo_p photo_id [ package_id ]

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

returns "t" if photo_id is a pa_photo that is a child of the root folder for the package, else "f"

Parameters:
photo_id (required)
package_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/photo-album/www/base-photo.tcl packages/photo-album/ www/base-photo.tcl pa_is_photo_p pa_is_photo_p packages/photo-album/www/base-photo.tcl->pa_is_photo_p packages/photo-album/www/photo-delete.tcl packages/photo-album/ www/photo-delete.tcl packages/photo-album/www/photo-delete.tcl->pa_is_photo_p packages/photo-album/www/photo-iconic.tcl packages/photo-album/ www/photo-iconic.tcl packages/photo-album/www/photo-iconic.tcl->pa_is_photo_p packages/photo-album/www/photo.tcl packages/photo-album/ www/photo.tcl packages/photo-album/www/photo.tcl->pa_is_photo_p pa_is_type_in_package pa_is_type_in_package (private) pa_is_photo_p->pa_is_type_in_package

Testcases:
No testcase defined.
Source code:
    return [pa_is_type_in_package $photo_id "pa_photo" $package_id]
Generic XQL file:
packages/photo-album/tcl/photo-album-procs.xql

PostgreSQL XQL file:
packages/photo-album/tcl/photo-album-procs-postgresql.xql

Oracle XQL file:
packages/photo-album/tcl/photo-album-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: