Function __global->create_selection_list_banners
Definitions
sources/banners2.php
- Get a list of banners.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $it | ?ID_TEXT | No | No | Null | N/A | N/A | The ID of the banner selected by default (null: no specific default) |
| $only_owned | ?MEMBER | No | No | Null | N/A | N/A | Only show banners owned by the member (null: no such restriction) |
Returns
- The list
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a list of banners.
*
* @param ?ID_TEXT $it The ID of the banner selected by default (null: no specific default)
* @param ?MEMBER $only_owned Only show banners owned by the member (null: no such restriction)
* @return Tempcode The list
*/
function create_selection_list_banners(?string $it = null, ?int $only_owned = null) : object
* Get a list of banners.
*
* @param ?ID_TEXT $it The ID of the banner selected by default (null: no specific default)
* @param ?MEMBER $only_owned Only show banners owned by the member (null: no such restriction)
* @return Tempcode The list
*/
function create_selection_list_banners(?string $it = null, ?int $only_owned = null) : object

