PHP Class WhispersPlugin, addons

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

Public Properties

Property Type Description
$Conversations Properties ///

Public Methods

Method Description
CommentModel_AfterGet_Handler ( $Sender, $Args ) Event Handlers ///
DiscussionController_AfterBodyField_Handler ( Gdn_Controller $Sender, args $Args )
DiscussionController_BeforeCommentDisplay_Handler ( $Sender, $Args )
DiscussionController_CommentInfo_Handler ( $Sender, $Args )
DiscussionController_CommentOptions_Handler ( $Sender, $Args )
DiscussionController_Render_Before ( DiscussionController $Sender, $Args )
DiscussionModel_AfterAddColumns_Handler ( DiscussionModel $Sender, array $Args ) Join message counts into the discussion list.
DiscussionsController_AfterCountMeta_Handler ( $Sender, $Args )
GetWhispers ( $DiscussionID, $Comments, $Limit, $Offset ) Methods ///
MergeWhispers ( $Comments, $Whispers )
MessagesController_BeforeConversationMeta_Handler ( $Sender, $Args )
MessagesController_BeforeConversation_Handler ( $Sender, $Args )
PostController_Comment_Create ( PostController $Sender, array $Args = [] ) : mixed
Setup ( )
Structure ( )
UserRowCompare ( $A, $B )

Protected Methods

Method Description
_MergeWhispersSort ( $A, $B )

Method Details

CommentModel_AfterGet_Handler() public method

Event Handlers ///
public CommentModel_AfterGet_Handler ( $Sender, $Args )

DiscussionController_AfterBodyField_Handler() public method

public DiscussionController_AfterBodyField_Handler ( Gdn_Controller $Sender, args $Args )
$Sender Gdn_Controller
$Args args

DiscussionController_BeforeCommentDisplay_Handler() public method

DiscussionController_CommentInfo_Handler() public method

public DiscussionController_CommentInfo_Handler ( $Sender, $Args )

DiscussionController_CommentOptions_Handler() public method

DiscussionController_Render_Before() public method

public DiscussionController_Render_Before ( DiscussionController $Sender, $Args )
$Sender DiscussionController

DiscussionModel_AfterAddColumns_Handler() public method

Join message counts into the discussion list.
public DiscussionModel_AfterAddColumns_Handler ( DiscussionModel $Sender, array $Args )
$Sender DiscussionModel
$Args array

DiscussionsController_AfterCountMeta_Handler() public method

GetWhispers() public method

Methods ///
public GetWhispers ( $DiscussionID, $Comments, $Limit, $Offset )

MergeWhispers() public method

public MergeWhispers ( $Comments, $Whispers )

MessagesController_BeforeConversationMeta_Handler() public method

MessagesController_BeforeConversation_Handler() public method

PostController_Comment_Create() public method

public PostController_Comment_Create ( PostController $Sender, array $Args = [] ) : mixed
$Sender PostController
$Args array
return mixed

Setup() public method

public Setup ( )

Structure() public method

public Structure ( )

UserRowCompare() public method

public UserRowCompare ( $A, $B )

_MergeWhispersSort() protected static method

protected static _MergeWhispersSort ( $A, $B )

Property Details

$Conversations public property

Properties ///
public $Conversations