PHP 클래스 RWMB_Object_Choice_Field

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

공개 메소드들

메소드 설명
admin_enqueue_scripts ( ) Enqueue scripts and styles
get_attributes ( array $field, mixed $value = null ) : array Get the attributes for a field
get_db_fields ( ) : array Get field names of object to be used by walker
normalize ( array $field ) : array Normalize parameters for field
walk ( array $field, mixed $options, mixed $db_fields, mixed $meta ) : string Get field HTML

보호된 메소드들

메소드 설명
get_type_class ( array $field ) : string Get correct rendering class for the field.

메소드 상세

admin_enqueue_scripts() 공개 정적인 메소드

Enqueue scripts and styles
public static admin_enqueue_scripts ( )

get_attributes() 공개 정적인 메소드

Get the attributes for a field
public static get_attributes ( array $field, mixed $value = null ) : array
$field array
$value mixed
리턴 array

get_db_fields() 공개 정적인 메소드

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

get_type_class() 보호된 정적인 메소드

Get correct rendering class for the field.
protected static get_type_class ( array $field ) : string
$field array Field parameter
리턴 string

normalize() 공개 정적인 메소드

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

walk() 공개 정적인 메소드

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