PHP Class RWMB_Text_List_Field

Show file Open project: rilwis/meta-box

Public Methods

Method 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

Method Details

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