Function __global->cns_perform_multi_moderation

Definitions

sources/cns_multi_moderations2.php

  • Perform 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 performing
$topic_id AUTO_LINK No No required parameter N/A N/A The ID of the topic we are performing the Multi Moderation on
$reason LONG_TEXT No No required parameter N/A N/A The reason for performing the Multi Moderation (may be blank)
$post_text LONG_TEXT No No Blank (empty string) N/A N/A The post text for a post to be added to the topic (blank: do not add a post)
$is_emphasised BINARY No No 1 N/A N/A Whether the post is marked emphasised
$skip_sig BINARY No No 0 N/A N/A Whether to skip showing the posters signature in the post

Preview

Code (PHP)

/**
 * Perform a Multi Moderation.
 *
 * @param  AUTO_LINK $id The ID of the Multi Moderation we are performing
 * @param  AUTO_LINK $topic_id The ID of the topic we are performing the Multi Moderation on
 * @param  LONG_TEXT $reason The reason for performing the Multi Moderation (may be blank)
 * @param  LONG_TEXT $post_text The post text for a post to be added to the topic (blank: do not add a post)
 * @param  BINARY $is_emphasised Whether the post is marked emphasised
 * @param  BINARY $skip_sig Whether to skip showing the posters signature in the post
 */

function cns_perform_multi_moderation(int $id, int $topic_id, string $reason, string $post_text = '', int $is_emphasised = 1, int $skip_sig = 0)