PHP 클래스 Falcon_Handler_Mandrill, Falcon

저자: Tareq Hasan ([email protected])
상속: implements Falcon_Handler
파일 보기 프로젝트 열기: rmccue/Falcon 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$current_options array For the settings callbacks, we need to hold on to the current options

공개 메소드들

메소드 설명
__construct ( $options )
check_inbox ( )
field_apikey ( )
get_name ( )
handle_post ( ) : void Handles Mandrill inbound web hook
options_section_header ( ) Output a description for the options
register_option_fields ( string $group, string $section, array $options ) Register handler-specific option fields
send_mail ( $users, Falcon_Message $message )
supports_message_ids ( )
validate_options ( array $input ) : array Validate the options from the submitted form

보호된 메소드들

메소드 설명
send_single ( $data )

메소드 상세

__construct() 공개 메소드

public __construct ( $options )

check_inbox() 공개 메소드

public check_inbox ( )

field_apikey() 공개 정적인 메소드

public static field_apikey ( )

get_name() 공개 정적인 메소드

public static get_name ( )

handle_post() 공개 메소드

Handles Mandrill inbound web hook
public handle_post ( ) : void
리턴 void

options_section_header() 공개 정적인 메소드

If you have any extra information you want to tell the user, this is probably the best place for it to live.
public static options_section_header ( )

register_option_fields() 공개 정적인 메소드

Register handler-specific option fields
또한 보기: bbSubscriptions_Handler::register_option_fields
public static register_option_fields ( string $group, string $section, array $options )
$group string Settings group (4th parameter to `add_settings_field`)
$section string Settings section (5th parameter to `add_settings_field`)
$options array Current options

send_mail() 공개 메소드

public send_mail ( $users, Falcon_Message $message )
$message Falcon_Message

send_single() 보호된 메소드

protected send_single ( $data )

supports_message_ids() 공개 정적인 메소드

public static supports_message_ids ( )

validate_options() 공개 정적인 메소드

Validate the options from the submitted form
또한 보기: bbSubscriptions_Handler::validate_options
public static validate_options ( array $input ) : array
$input array Raw POSTed data
리턴 array Sanitized POST data

프로퍼티 상세

$current_options 보호되어 있는 정적으로 프로퍼티

For the settings callbacks, we need to hold on to the current options
protected static array $current_options
리턴 array