PHP Класс RTMediaCommentNotification, rtMedia

Автор: Jignesh Nakrani ([email protected])
Наследование: extends RTMediaNotification
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$component_action
$component_id

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

Метод Описание
__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

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

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

public __construct ( )

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

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() публичный Метод

format the new notification in String or array
public format_comment_notifications ( array $params ) : array/string
$params array
Результат array/string

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

Hooked to bp_init.
public init ( )

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

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

Описание свойств

$component_action публичное свойство

public $component_action

$component_id публичное свойство

public $component_id