PHP Class Falcon_Connector_bbPress, Falcon

Datei anzeigen Open project: rmccue/Falcon

Protected Properties

Property Type Description
$handler

Public Methods

Method Description
__construct ( $handler )
handle_insert ( $value, Falcon_Reply $reply )
notify_new_topic ( $topic_id, $forum_id, $anonymous_data, $topic_author ) Notify user roles on new topic
notify_on_reply ( $reply_id, $topic_id, $forum_id, $anonymous_data = false, $reply_author ) Send a notification to subscribers
register_settings ( )
settings_field_topic_notification ( ) Print field for new topic notification
validate_topic_notification ( array $input ) : array Validate the new topic notification

Protected Methods

Method Description
is_allowed_type ( $type )

Method Details

__construct() public method

public __construct ( $handler )

handle_insert() public method

public handle_insert ( $value, Falcon_Reply $reply )
$reply Falcon_Reply

is_allowed_type() protected method

protected is_allowed_type ( $type )

notify_new_topic() public method

Notify user roles on new topic
public notify_new_topic ( $topic_id, $forum_id, $anonymous_data, $topic_author )

notify_on_reply() public method

Send a notification to subscribers
public notify_on_reply ( $reply_id, $topic_id, $forum_id, $anonymous_data = false, $reply_author )

register_settings() public method

public register_settings ( )

settings_field_topic_notification() public static method

Print field for new topic notification
See also: self::init()

validate_topic_notification() public method

Validate the new topic notification
public validate_topic_notification ( array $input ) : array
$input array
return array

Property Details

$handler protected_oe property

protected $handler