PHP Class ReportingPlugin, addons

Inheritance: extends Gdn_Plugin
Afficher le fichier Open project: vanilla/addons

Méthodes publiques

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

Méthodes protégées

Méthode Description
OutputButton ( $ButtonType, $Context, $Sender )

Method Details

Controller_Awesome() public méthode

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

Controller_Index() public méthode

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

Controller_Report() public méthode

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

DiscussionController_AfterReactions_Handler() public méthode

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

Gdn_RegardingEntity_ItsAwesome_Create() public méthode

Gdn_RegardingEntity_ReportIt_Create() public méthode

* Regarding extensions

Gdn_Regarding_RegardingActions_Handler() public méthode

Gdn_Regarding_RegardingDisplay_Handler() public méthode

* Regarding handlers

OutputButton() protected méthode

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

PluginController_Reporting_Create() public méthode

* Plugin control

Setup() public méthode

public Setup ( )

__construct() public méthode

public __construct ( )

dashboardNavModule_init_handler() public méthode

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