Function __global->cns_edit_forum_grouping
Definitions
sources/cns_forums_action2.php
- Edit a forum grouping.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $forum_grouping_id | AUTO_LINK | No | No | required parameter | N/A | N/A | The ID of the forum grouping we are editing |
| $title | SHORT_TEXT | No | No | required parameter | N/A | N/A | The title of the forum grouping |
| $description | SHORT_TEXT | No | No | required parameter | N/A | N/A | The description of the forum grouping |
| $expanded_by_default | BINARY | No | No | required parameter | N/A | N/A | Whether the forum grouping will be shown expanded by default (as opposed to contracted, where contained forums will not be shown until expansion) |
Preview
Code (PHP)
/**
* Edit a forum grouping.
*
* @param AUTO_LINK $forum_grouping_id The ID of the forum grouping we are editing
* @param SHORT_TEXT $title The title of the forum grouping
* @param SHORT_TEXT $description The description of the forum grouping
* @param BINARY $expanded_by_default Whether the forum grouping will be shown expanded by default (as opposed to contracted, where contained forums will not be shown until expansion)
*/
function cns_edit_forum_grouping(int $forum_grouping_id, string $title, string $description, int $expanded_by_default)
* Edit a forum grouping.
*
* @param AUTO_LINK $forum_grouping_id The ID of the forum grouping we are editing
* @param SHORT_TEXT $title The title of the forum grouping
* @param SHORT_TEXT $description The description of the forum grouping
* @param BINARY $expanded_by_default Whether the forum grouping will be shown expanded by default (as opposed to contracted, where contained forums will not be shown until expansion)
*/
function cns_edit_forum_grouping(int $forum_grouping_id, string $title, string $description, int $expanded_by_default)
