PHP Class SplitMergePlugin, vanilla

Inheritance: extends Gdn_Plugin
Show file Open project: vanilla/vanilla

Public Methods

Method Description
base_beforeCheckComments_handler ( $Sender ) Add "split" action link.
base_beforeCheckDiscussions_handler ( $Sender ) Add "merge" action link.
moderationController_mergeDiscussions_create ( Gdn_Controller $Sender ) Add a method to the ModerationController to handle merging discussions.
moderationController_splitComments_create ( $Sender ) Add a method to the ModerationController to handle splitting comments out to a new discussion.
setup ( )

Method Details

base_beforeCheckComments_handler() public method

Add "split" action link.

base_beforeCheckDiscussions_handler() public method

Add "merge" action link.

moderationController_mergeDiscussions_create() public method

Add a method to the ModerationController to handle merging discussions.
public moderationController_mergeDiscussions_create ( Gdn_Controller $Sender )
$Sender Gdn_Controller

moderationController_splitComments_create() public method

Add a method to the ModerationController to handle splitting comments out to a new discussion.

setup() public method

public setup ( )