PHP 클래스 MC4WP_MailChimp_Interest_Category

Represents an Interest Category in MailChimp.
부터: 4.0
파일 보기 프로젝트 열기: dannyvankooten/mailchimp-for-wordpress 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$field_type string
$id integer
$interests string[]
$name string

공개 메소드들

메소드 설명
__construct ( integer $id, string $name, string $field_type, array $interests = [] )
__get ( string $name ) : array | string[]
from_data ( object $data ) : MC4WP_MailChimp_Interest_Category
get_interest_name_by_id ( string $interest_id ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( integer $id, string $name, string $field_type, array $interests = [] )
$id integer
$name string
$field_type string
$interests array

__get() 공개 메소드

public __get ( string $name ) : array | string[]
$name string
리턴 array | string[]

from_data() 공개 정적인 메소드

public static from_data ( object $data ) : MC4WP_MailChimp_Interest_Category
$data object
리턴 MC4WP_MailChimp_Interest_Category

get_interest_name_by_id() 공개 메소드

부터: 4.0
public get_interest_name_by_id ( string $interest_id ) : string
$interest_id string
리턴 string

프로퍼티 상세

$field_type 공개적으로 프로퍼티

public string $field_type
리턴 string

$id 공개적으로 프로퍼티

public int $id
리턴 integer

$interests 공개적으로 프로퍼티

public string[] $interests
리턴 string[]

$name 공개적으로 프로퍼티

public string $name
리턴 string