PHP Class ReportingPlugin, addons

Inheritance: extends Gdn_Plugin
ファイルを表示 Open project: vanilla/addons

Public Methods

Method Description
Controller_Awesome ( mixed $Sender ) Handle awesome actions
Controller_Index ( mixed $Sender ) Settings screen placeholder
Controller_Report ( mixed $Sender ) Handle report actions
DiscussionController_AfterReactions_Handler ( $Sender ) Create 'Infraction' link for comments in a discussion.
Gdn_RegardingEntity_ItsAwesome_Create ( $Sender )
Gdn_RegardingEntity_ReportIt_Create ( $Sender ) * Regarding extensions
Gdn_Regarding_RegardingActions_Handler ( $Sender )
Gdn_Regarding_RegardingDisplay_Handler ( $Sender ) * Regarding handlers
PluginController_Reporting_Create ( $Sender ) * Plugin control
Setup ( )
__construct ( )
dashboardNavModule_init_handler ( DashboardNavModule $sender ) Add to dashboard menu.

Protected Methods

Method Description
OutputButton ( $ButtonType, $Context, $Sender )

Method Details

Controller_Awesome() public method

Handle awesome actions
public Controller_Awesome ( mixed $Sender )
$Sender mixed

Controller_Index() public method

Settings screen placeholder
public Controller_Index ( mixed $Sender )
$Sender mixed

Controller_Report() public method

Handle report actions
public Controller_Report ( mixed $Sender )
$Sender mixed

DiscussionController_AfterReactions_Handler() public method

Clickable for those who can give infractions, otherwise just a UI marker for regular users.

Gdn_RegardingEntity_ItsAwesome_Create() public method

Gdn_RegardingEntity_ReportIt_Create() public method

* Regarding extensions

Gdn_Regarding_RegardingActions_Handler() public method

Gdn_Regarding_RegardingDisplay_Handler() public method

* Regarding handlers

OutputButton() protected method

protected OutputButton ( $ButtonType, $Context, $Sender )

PluginController_Reporting_Create() public method

* Plugin control

Setup() public method

public Setup ( )

__construct() public method

public __construct ( )

dashboardNavModule_init_handler() public method

Add to dashboard menu.
public dashboardNavModule_init_handler ( DashboardNavModule $sender )
$sender DashboardNavModule