PHP 클래스 Papi_Property_Checkbox, papi

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

공개 프로퍼티들

프로퍼티 타입 설명
$convert_type string The convert type.
$default_value array The default value.

공개 메소드들

메소드 설명
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.

메소드 상세

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

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

$default_value 공개적으로 프로퍼티

The default value.
public array $default_value
리턴 array