class mcp_queue

mcp_queue Handling the moderation queue

Properties

$p_master
$u_action

Methods

__construct($p_master)

No description

main($id, $mode)

No description

static void|never
approve_posts($action, $post_id_list, $id, $mode)

Approve/Restore posts

static void|never
approve_topics($action, $topic_id_list, $id, $mode)

Approve/Restore topics

static void|never
disapprove_posts($post_id_list, $id, $mode)

Disapprove Post

Details

at line 31
__construct($p_master)

No description

Parameters

$p_master

at line 36
main($id, $mode)

No description

Parameters

$id
$mode

at line 676
static void|never approve_posts($action, $post_id_list, $id, $mode)

Approve/Restore posts

Parameters

$action

string Action we perform on the posts ('approve' or 'restore')

$post_id_list

array IDs of the posts to approve/restore

$id

mixed Category of the current active module

$mode

string Active module

Return Value

void|never

at line 936
static void|never approve_topics($action, $topic_id_list, $id, $mode)

Approve/Restore topics

Parameters

$action

string Action we perform on the posts ('approve' or 'restore')

$topic_id_list

array IDs of the topics to approve/restore

$id

mixed Category of the current active module

$mode

string Active module

Return Value

void|never

at line 1135
static void|never disapprove_posts($post_id_list, $id, $mode)

Disapprove Post

Parameters

$post_id_list

array IDs of the posts to disapprove/delete

$id

mixed Category of the current active module

$mode

string Active module

Return Value

void|never