PHP 클래스 Papi_Property_Post, 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 WordPress admin or the site.
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 post types.
get_post_types ( ) : array Get post types.
get_posts ( string $post_type = '' ) : array Get posts.

메소드 상세

format_value() 공개 메소드

Format the value of the property before it's returned to WordPress admin or the site.
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 post types.
protected get_labels ( ) : array
리턴 array

get_post_types() 보호된 메소드

Get post types.
protected get_post_types ( ) : array
리턴 array

get_posts() 보호된 메소드

Get posts.
protected get_posts ( string $post_type = '' ) : array
$post_type 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