PHP Class RWMB_Fieldset_Text_Field

Inheritance: extends RWMB_Text_Field
Show file Open project: rilwis/meta-box

Public Methods

Method Description
element_description ( array $field ) : string Do not show field description.
format_single_value ( array $field, array $value ) : string Format a single value for the helper functions.
format_value ( array $field, string | array $value ) : string Format value for the helper functions.
html ( mixed $meta, array $field ) : string Get field HTML
normalize ( array $field ) : array Normalize parameters for field

Method Details

element_description() public static method

Do not show field description.
public static element_description ( array $field ) : string
$field array
return string

format_single_value() public static method

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

format_value() public static method

Format value for the helper functions.
public static format_value ( array $field, string | array $value ) : string
$field array Field parameter
$value string | array The field meta value
return string

html() static public method

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

normalize() static public method

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