PHP 클래스 MC4WP_Form_Tags

파일 보기 프로젝트 열기: dannyvankooten/mailchimp-for-wordpress 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$form MC4WP_Form
$form_element MC4WP_Form_Element
$tags MC4WP_Dynamic_Content_Tags

공개 메소드들

메소드 설명
__construct ( ) Constructor
add_hooks ( )
get ( ) : array
get_cookie ( array $args = [] ) : string Gets data variable from cookie.
get_data ( $args = [] ) : string Gets data value from GET or POST variables.
get_email ( ) : string
get_form_response ( ) : string Returns the form response
get_post_property ( $args = [] ) * Get property of viewed post
get_subscriber_count ( ) : integer Returns the number of subscribers on the selected lists (for the form context)
get_user_property ( $args = [] ) * Get property of currently logged-in user
register ( array $tags ) : array
replace ( string $string, MC4WP_Form $form, MC4WP_Form_Element $element = null ) : string Replaces the registered tags in the given string
replace_in_url ( $string, MC4WP_Form $form ) : string

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

add_hooks() 공개 메소드

public add_hooks ( )

get() 공개 메소드

public get ( ) : array
리턴 array

get_data() 공개 메소드

Gets data value from GET or POST variables.
public get_data ( $args = [] ) : string
$args
리턴 string

get_email() 공개 메소드

public get_email ( ) : string
리턴 string

get_form_response() 공개 메소드

Returns the form response
public get_form_response ( ) : string
리턴 string

get_post_property() 공개 메소드

* Get property of viewed post
public get_post_property ( $args = [] )
$args

get_subscriber_count() 공개 메소드

Returns the number of subscribers on the selected lists (for the form context)
public get_subscriber_count ( ) : integer
리턴 integer

get_user_property() 공개 메소드

* Get property of currently logged-in user
public get_user_property ( $args = [] )
$args

register() 공개 메소드

public register ( array $tags ) : array
$tags array
리턴 array

replace() 공개 메소드

Replaces the registered tags in the given string
public replace ( string $string, MC4WP_Form $form, MC4WP_Form_Element $element = null ) : string
$string string
$form MC4WP_Form
$element MC4WP_Form_Element
리턴 string

replace_in_url() 공개 메소드

public replace_in_url ( $string, MC4WP_Form $form ) : string
$string
$form MC4WP_Form
리턴 string

프로퍼티 상세

$form 보호되어 있는 프로퍼티

protected MC4WP_Form $form
리턴 MC4WP_Form

$form_element 보호되어 있는 프로퍼티

protected MC4WP_Form_Element $form_element
리턴 MC4WP_Form_Element

$tags 보호되어 있는 프로퍼티

protected MC4WP_Dynamic_Content_Tags $tags
리턴 MC4WP_Dynamic_Content_Tags