PHP 클래스 Papi_Property_Number, papi

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
format_value ( mixed $value, string $slug, integer $post_id ) : float | integer Format the value of the property before it's returned to WordPress admin or the site.
get_convert_type ( ) : string Get convert type.
get_default_settings ( ) : array Get default settings.
get_value ( ) : float | integer Get value from the database.
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 ) : float | integer
$value mixed
$slug string
$post_id integer
리턴 float | integer

get_convert_type() 공개 메소드

Get convert type.
public get_convert_type ( ) : string
리턴 string

get_default_settings() 공개 메소드

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

get_value() 공개 메소드

Get value from the database.
public get_value ( ) : float | integer
리턴 float | integer

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