Function __global->gallery_has_content
Definitions
sources/galleries.php
- Find whether a certain gallery has any content (images, videos, or subgalleries).Doesn't do a recursive search.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $name | ID_TEXT | No | No | required parameter | N/A | N/A | The name of the gallery |
Returns
- The answer
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether a certain gallery has any content (images, videos, or subgalleries).Doesn't do a recursive search.
*
* @param ID_TEXT $name The name of the gallery
* @return boolean The answer
*/
function gallery_has_content(string $name) : bool
* Find whether a certain gallery has any content (images, videos, or subgalleries).Doesn't do a recursive search.
*
* @param ID_TEXT $name The name of the gallery
* @return boolean The answer
*/
function gallery_has_content(string $name) : bool

