PHP Класс FlaggingPlugin, vanilla

Наследование: extends Gdn_Plugin
Показать файл Открыть проект

Открытые методы

Метод Описание
controller_dismiss ( Gdn_Controller $Sender ) Dismiss a flag, then view index.
controller_index ( $Sender ) Get flagged content & show settings.
dashboardNavModule_init_handler ( $sender ) Add Flagging to Dashboard menu.
discussionController_afterDiscussionMeta_handler ( $Sender, $Args ) Add 'Flag' link for discussions.
discussionController_beforeCommentsRender_handler ( $Sender ) Add Flagging styling to Discussion.
discussionController_flag_create ( $Sender ) Handle flagging process in a discussion.
discussionController_insideCommentMeta_handler ( $Sender, $Args ) Add 'Flag' link for comments.
pluginController_flagging_create ( $Sender ) Create virtual Flagging controller.
profileController_afterPreferencesDefined_handler ( $Sender ) Let users with permission choose to receive Flagging emails.
setup ( )
structure ( ) Database changes needed for this plugin.
userModel_beforeSaveSerialized_handler ( $Sender ) Save Email.Flag preference list in config for easier access.

Защищенные методы

Метод Описание
addFlagButton ( $Sender, $Args, $Context = 'comment' ) Output Flag link.

Описание методов

addFlagButton() защищенный Метод

Output Flag link.
protected addFlagButton ( $Sender, $Args, $Context = 'comment' )

controller_dismiss() публичный Метод

Dismiss a flag, then view index.
public controller_dismiss ( Gdn_Controller $Sender )
$Sender Gdn_Controller

controller_index() публичный Метод

Default method of virtual Flagging controller.
public controller_index ( $Sender )

dashboardNavModule_init_handler() публичный Метод

Add Flagging to Dashboard menu.
public dashboardNavModule_init_handler ( $sender )

discussionController_afterDiscussionMeta_handler() публичный Метод

Add 'Flag' link for discussions.

discussionController_beforeCommentsRender_handler() публичный Метод

Add Flagging styling to Discussion.

discussionController_flag_create() публичный Метод

Handle flagging process in a discussion.

discussionController_insideCommentMeta_handler() публичный Метод

Add 'Flag' link for comments.

pluginController_flagging_create() публичный Метод

Create virtual Flagging controller.

profileController_afterPreferencesDefined_handler() публичный Метод

Let users with permission choose to receive Flagging emails.

setup() публичный Метод

public setup ( )

structure() публичный Метод

Database changes needed for this plugin.
public structure ( )

userModel_beforeSaveSerialized_handler() публичный Метод

Save Email.Flag preference list in config for easier access.