Function Module_galleries->build_set_navigation
Definitions
site/pages/modules/galleries.php
- Sort out gallery back/next navigation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$extra_where | string | required parameter | N/A | N/A | Where clause for doing set query |
$join | string | required parameter | N/A | N/A | Join clause for doing set query |
$category_name | string | required parameter | N/A | N/A | The actual title for the gallery we are using |
$current_id | ?AUTO_LINK | required parameter | N/A | N/A | The ID of the current entry of the type we are browsing in the gallery we are using (null: assume first) |
$root | ID_TEXT | required parameter | N/A | N/A | The root gallery (the gallery we are considering as an ad hoc root, to allow gallery splitting-up) |
$current_type | ?ID_TEXT | required parameter | N/A | N/A | The current type being browsed (null: assume first) |
$wide_high | BINARY | required parameter | N/A | N/A | If panels hidden |
$start | integer | required parameter | N/A | N/A | Start position when returning to category |
$max | integer | required parameter | N/A | N/A | Max to show when returning to category |
$cat | ID_TEXT | required parameter | N/A | N/A | Category |
$url_sort | string | required parameter | N/A | N/A | Sort parameter |
$dir | string | required parameter | N/A | N/A | Sort direction |
$image_select | string | required parameter | N/A | N/A | Selectcode for limiting images displayed |
$video_select | string | required parameter | N/A | N/A | Selectcode for limiting videos displayed |
$days | ?integer | required parameter | N/A | N/A | Day limit for recency (null: no limit) |
Return
- A tuple of the navigation bits
- Type: array
- Set: N/A
- Range: N/A