Property | Type | Description | |
---|---|---|---|
$p_master | |||
$u_action |
Method | Description | |
---|---|---|
approve_posts ( $action, $post_id_list, $id, $mode ) : null | Approve/Restore posts | |
approve_topics ( $action, $topic_id_list, $id, $mode ) : null | Approve/Restore topics | |
disapprove_posts ( $post_id_list, $id, $mode ) : null | Disapprove Post | |
main ( $id, $mode ) | ||
mcp_queue ( &$p_master ) |
public static approve_posts ( $action, $post_id_list, $id, $mode ) : null | ||
$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 | null |
public static approve_topics ( $action, $topic_id_list, $id, $mode ) : null | ||
$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 | null |
public static disapprove_posts ( $post_id_list, $id, $mode ) : null | ||
$post_id_list | array IDs of the posts to disapprove/delete | |
$id | mixed Category of the current active module | |
$mode | string Active module | |
return | null |