pa_all_photos_on_page (public)
pa_all_photos_on_page album_id page
Defined in packages/photo-album/tcl/photo-album-procs.tcl
returns a list of the photo_ids on page page of album_id list is in ascending order
- Parameters:
- album_id (required)
- page (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set images_per_page [parameter::get -parameter ThumbnailsPerPage] set start_index [expr {$images_per_page * ($page-1)}] set end_index [expr {$start_index + ($images_per_page - 1)}] return [lrange [pa_all_photos_in_album $album_id] $start_index $end_index]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