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 null
approve_posts($action, $post_id_list, $id, $mode)

Approve/Restore posts

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

Approve/Restore topics

static null
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 693
static null 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

null

at line 949
static null 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

null

at line 1147
static null 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

null