PHP Class mcp_queue

Afficher le fichier Open project: phpbb/phpbb Class Usage Examples

Méthodes publiques

Свойство Type Description
$p_master
$u_action

Méthodes publiques

Méthode 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 )

Method Details

approve_posts() public static méthode

Approve/Restore posts
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
Résultat null

approve_topics() public static méthode

Approve/Restore topics
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
Résultat null

disapprove_posts() public static méthode

Disapprove Post
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
Résultat null

main() public méthode

public main ( $id, $mode )

mcp_queue() public méthode

public mcp_queue ( &$p_master )

Property Details

$p_master public_oe property

public $p_master

$u_action public_oe property

public $u_action