Function Module_galleries->generate_gallery_contents_selectcode
Definitions
site/pages/modules/galleries.php
- Generate the Selectcode needed to get the contents of a gallery, with support for the galleries_subcat_narrowin option.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $cat | string | No | No | required parameter | N/A | N/A | Gallery |
Returns
- Selectcode
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate the Selectcode needed to get the contents of a gallery, with support for the galleries_subcat_narrowin option.
*
* @param string $cat Gallery
* @return string Selectcode
*/
protected function generate_gallery_contents_selectcode(string $cat) : string
* Generate the Selectcode needed to get the contents of a gallery, with support for the galleries_subcat_narrowin option.
*
* @param string $cat Gallery
* @return string Selectcode
*/
protected function generate_gallery_contents_selectcode(string $cat) : string

