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
Afficher le fichier Open project: rilwis/meta-box Class Usage Examples

Méthodes publiques

Méthode 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 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

normalize() static public méthode

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