PHP Class RWMB_Multiple_Values_Field

The difference when handling actions for these fields are the way they get/set meta value. Briefly: - If field is cloneable, value is saved as a single entry in the database - Otherwise value is saved as multiple entries
Inheritance: extends RWMB_Field
Mostrar archivo Open project: rilwis/meta-box Class Usage Examples

Public Methods

Method Description
format_single_value ( array $field, string $value ) : string Format a single value for the helper functions.
normalize ( array $field ) : array Normalize parameters for field

Method Details

format_single_value() static public method

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
return string

normalize() static public method

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