Function __global->cns_create_selection_list_forum_groupings
Definitions
sources/cns_forums2.php
- Get a nice list for selection from the forum groupings.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $avoid | ?AUTO_LINK | No | No | Null | N/A | N/A | Category to avoid putting in the list (null: don't avoid any) |
| $it | ?AUTO_LINK | No | No | Null | N/A | N/A | Category selected by default (null: no specific default) |
Returns
- The list
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a nice list for selection from the forum groupings.
*
* @param ?AUTO_LINK $avoid Category to avoid putting in the list (null: don't avoid any)
* @param ?AUTO_LINK $it Category selected by default (null: no specific default)
* @return Tempcode The list
*/
function cns_create_selection_list_forum_groupings(?int $avoid = null, ?int $it = null) : object
* Get a nice list for selection from the forum groupings.
*
* @param ?AUTO_LINK $avoid Category to avoid putting in the list (null: don't avoid any)
* @param ?AUTO_LINK $it Category selected by default (null: no specific default)
* @return Tempcode The list
*/
function cns_create_selection_list_forum_groupings(?int $avoid = null, ?int $it = null) : object
