Function __global->cns_edit_multi_moderation

Definitions

sources/cns_multi_moderations2.php

  • Edit a Multi Moderation.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID of the Multi Moderation we are editing
$name SHORT_TEXT No No required parameter N/A N/A The name of the Multi Moderation
$post_text LONG_TEXT No No required parameter N/A N/A The default post text to add when applying (may be blank)
$move_to ?AUTO_LINK No No required parameter N/A N/A The forum to move the topic when applying (null: do not move)
$pin_state ?BINARY No No required parameter N/A N/A The pin state after applying (null: unchanged)
$open_state ?BINARY No No required parameter N/A N/A The open state after applying (null: unchanged)
$forum_multi_code SHORT_TEXT No No required parameter N/A N/A The forum multi code for where this Multi Moderation may be applied
$title_suffix SHORT_TEXT No No required parameter N/A N/A The title suffix

Preview

Code (PHP)

/**
 * Edit a Multi Moderation.
 *
 * @param  AUTO_LINK $id The ID of the Multi Moderation we are editing
 * @param  SHORT_TEXT $name The name of the Multi Moderation
 * @param  LONG_TEXT $post_text The default post text to add when applying (may be blank)
 * @param  ?AUTO_LINK $move_to The forum to move the topic when applying (null: do not move)
 * @param  ?BINARY $pin_state The pin state after applying (null: unchanged)
 * @param  ?BINARY $open_state The open state after applying (null: unchanged)
 * @param  SHORT_TEXT $forum_multi_code The forum multi code for where this Multi Moderation may be applied
 * @param  SHORT_TEXT $title_suffix The title suffix
 */

function cns_edit_multi_moderation(int $id, string $name, string $post_text, ?int $move_to, ?int $pin_state, ?int $open_state, string $forum_multi_code, string $title_suffix)