Function __global->only_download_galleries
Definitions
sources/galleries.php
- See whether a gallery is a download gallery (designed as a filter).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $cat | ID_TEXT | No | No | required parameter | N/A | N/A | The gallery name |
Returns
- Whether the gallery is a download gallery
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* See whether a gallery is a download gallery (designed as a filter).
*
* @param ID_TEXT $cat The gallery name
* @return boolean Whether the gallery is a download gallery
*/
function only_download_galleries(string $cat) : bool
* See whether a gallery is a download gallery (designed as a filter).
*
* @param ID_TEXT $cat The gallery name
* @return boolean Whether the gallery is a download gallery
*/
function only_download_galleries(string $cat) : bool

