PHP 클래스 Papi_Property_Term, papi

상속: extends Papi_Property
파일 보기 프로젝트 열기: wp-papi/papi

공개 프로퍼티들

프로퍼티 타입 설명
$convert_type string The convert type.

공개 메소드들

메소드 설명
format_value ( mixed $value, string $slug, integer $post_id ) : array Format the value of the property before it's returned to the application.
get_default_settings ( ) : array Get default settings.
html ( ) Render property html.
import_value ( mixed $value, string $slug, integer $post_id ) : mixed Import value to the property.

보호된 메소드들

메소드 설명
get_labels ( ) : array Get labels from taxonomies.
get_taxonomies ( ) : array Get taxonomies.
get_term ( integer $term_id ) : object Get single term.
get_terms ( string $taxonomy ) : array Get terms for specified taxonomy.

메소드 상세

format_value() 공개 메소드

Format the value of the property before it's returned to the application.
public format_value ( mixed $value, string $slug, integer $post_id ) : array
$value mixed
$slug string
$post_id integer
리턴 array

get_default_settings() 공개 메소드

Get default settings.
public get_default_settings ( ) : array
리턴 array

get_labels() 보호된 메소드

Get labels from taxonomies.
protected get_labels ( ) : array
리턴 array

get_taxonomies() 보호된 메소드

Get taxonomies.
protected get_taxonomies ( ) : array
리턴 array

get_term() 보호된 메소드

Get single term.
protected get_term ( integer $term_id ) : object
$term_id integer
리턴 object

get_terms() 보호된 메소드

Get terms for specified taxonomy.
protected get_terms ( string $taxonomy ) : array
$taxonomy string
리턴 array

html() 공개 메소드

Render property html.
public html ( )

import_value() 공개 메소드

Import value to the property.
public import_value ( mixed $value, string $slug, integer $post_id ) : mixed
$value mixed
$slug string
$post_id integer
리턴 mixed

프로퍼티 상세

$convert_type 공개적으로 프로퍼티

The convert type.
public string $convert_type
리턴 string