PHP 클래스 RWMB_Choice_Field

상속: extends RWMB_Field
파일 보기 프로젝트 열기: rilwis/meta-box 1 사용 예제들

공개 메소드들

메소드 설명
filter_options ( array $field, $options ) : array Filter options for walker
format_single_value ( array $field, string $value ) : string Format a single value for the helper functions.
get_db_fields ( ) : array Get field names of object to be used by walker
get_option_label ( array $field, string $value ) : string Get option label
get_options ( array $field ) : array Get options for walker
html ( mixed $meta, array $field ) : string Get field HTML
normalize ( array $field ) : array Normalize parameters for field
walk ( array $field, mixed $options, mixed $db_fields, mixed $meta ) : string Walk options

메소드 상세

filter_options() 공개 정적인 메소드

Filter options for walker
public static filter_options ( array $field, $options ) : array
$field array
리턴 array

format_single_value() 공개 정적인 메소드

Format a single value for the helper functions.
public static format_single_value ( array $field, string $value ) : string
$field array Field parameter
$value string The value
리턴 string

get_db_fields() 공개 정적인 메소드

Get field names of object to be used by walker
public static get_db_fields ( ) : array
리턴 array

get_option_label() 공개 정적인 메소드

Get option label
public static get_option_label ( array $field, string $value ) : string
$field array Field parameter
$value string Option value
리턴 string

get_options() 공개 정적인 메소드

Get options for walker
public static get_options ( array $field ) : array
$field array
리턴 array

html() 공개 정적인 메소드

Get field HTML
public static html ( mixed $meta, array $field ) : string
$meta mixed
$field array
리턴 string

normalize() 공개 정적인 메소드

Normalize parameters for field
public static normalize ( array $field ) : array
$field array
리턴 array

walk() 공개 정적인 메소드

Walk options
public static walk ( array $field, mixed $options, mixed $db_fields, mixed $meta ) : string
$field array
$options mixed
$db_fields mixed
$meta mixed
리턴 string