PHP Class RWMB_Select_Field

Afficher le fichier Open project: rilwis/meta-box Class Usage Examples

Méthodes publiques

Méthode Description
admin_enqueue_scripts ( ) Enqueue scripts and styles
get_attributes ( array $field, mixed $value = null ) : array Get the attributes for a field
get_select_all_html ( array $field ) : string Get html for select all|none for multiple select
normalize ( array $field ) : array Normalize parameters for field
walk ( array $field, mixed $options, mixed $db_fields, mixed $meta ) : string Walk options

Method Details

admin_enqueue_scripts() public static méthode

Enqueue scripts and styles
public static admin_enqueue_scripts ( )

get_attributes() public static méthode

Get the attributes for a field
public static get_attributes ( array $field, mixed $value = null ) : array
$field array
$value mixed
Résultat array

get_select_all_html() public static méthode

Get html for select all|none for multiple select
public static get_select_all_html ( array $field ) : string
$field array
Résultat string

normalize() public static méthode

Normalize parameters for field
public static normalize ( array $field ) : array
$field array
Résultat array

walk() public static méthode

Walk options
public static walk ( array $field, mixed $options, mixed $db_fields, mixed $meta ) : string
$field array
$options mixed
$db_fields mixed
$meta mixed
Résultat string