PHP Class RTMediaCommentNotification, rtMedia

Author: Jignesh Nakrani ([email protected])
Inheritance: extends RTMediaNotification
Show file Open project: rtCamp/rtMedia

Public Properties

Property Type Description
$component_action
$component_id

Public Methods

Method Description
__construct ( )
add_comment_notify ( array $args ) add a notification for a author of media on new comment on media
format_comment_notifications ( array $params ) : array/string format the new notification in String or array
init ( ) Hooked to bp_init.
remove_comment_notification ( integer $comment_id ) delete notification of a comment perticular commnet

Method Details

__construct() public method

public __construct ( )

add_comment_notify() public method

add a notification for a author of media on new comment on media
public add_comment_notify ( array $args )
$args array contains comment descriptions

format_comment_notifications() public method

format the new notification in String or array
public format_comment_notifications ( array $params ) : array/string
$params array
return array/string

init() public method

Hooked to bp_init.
public init ( )

remove_comment_notification() public method

delete notification of a comment perticular commnet
public remove_comment_notification ( integer $comment_id )
$comment_id integer

Property Details

$component_action public property

public $component_action

$component_id public property

public $component_id