PHP Class RWMB_Color_Field

Inheritance: extends RWMB_Text_Field
Afficher le fichier Open project: rilwis/meta-box

Méthodes publiques

Méthode Description
admin_enqueue_scripts ( ) Enqueue scripts and styles
format_single_value ( array $field, string $value ) : string Format a single value for the helper functions.
get_attributes ( array $field, mixed $value = null ) : array Get the attributes for a field
normalize ( array $field ) : array Normalize parameters for field.

Method Details

admin_enqueue_scripts() static public méthode

Enqueue scripts and styles
static public admin_enqueue_scripts ( )

format_single_value() static public méthode

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

get_attributes() static public méthode

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

normalize() static public méthode

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