phpBB API Documentation
Class

mcp_queue

class mcp_queue

mcp_queue Handling the moderation queue

Properties

$p_master
$u_action

Methods

mcp_queue($p_master)

main($id, $mode)

static null approve_posts($action $action, $post_id_list $post_id_list, $id $id, $mode $mode)

Approve/Restore posts

static null approve_topics($action $action, $topic_id_list $topic_id_list, $id $id, $mode $mode)

Approve/Restore topics

static null disapprove_posts($post_id_list $post_id_list, $id $id, $mode $mode)

Disapprove Post

Details

at line 31
public mcp_queue($p_master)

Parameters

$p_master

at line 36
public main($id, $mode)

Parameters

$id
$mode

at line 618
static public null approve_posts($action $action, $post_id_list $post_id_list, $id $id, $mode $mode)

Approve/Restore posts

Parameters

$action $action string Action we perform on the posts ('approve' or 'restore')
$post_id_list $post_id_list array IDs of the posts to approve/restore
$id $id mixed Category of the current active module
$mode $mode string Active module

Return Value

null

at line 874
static public null approve_topics($action $action, $topic_id_list $topic_id_list, $id $id, $mode $mode)

Approve/Restore topics

Parameters

$action $action string Action we perform on the posts ('approve' or 'restore')
$topic_id_list $topic_id_list array IDs of the topics to approve/restore
$id $id mixed Category of the current active module
$mode $mode string Active module

Return Value

null

at line 1072
static public null disapprove_posts($post_id_list $post_id_list, $id $id, $mode $mode)

Disapprove Post

Parameters

$post_id_list $post_id_list array IDs of the posts to disapprove/delete
$id $id mixed Category of the current active module
$mode $mode string Active module

Return Value

null