PHP Interface Habari\FormStorage

Describes functions that are required to store form data into an object
Afficher le fichier Open project: habari/system

Méthodes publiques

Méthode Description
field_load ( string $key ) : mixed Loads form values from an object
field_save ( string $key, mixed $value ) Stores a form value into the object

Method Details

field_load() public méthode

Loads form values from an object
public field_load ( string $key ) : mixed
$key string The name of a form component that will be loaded
Résultat mixed The stored value returned

field_save() public méthode

Stores a form value into the object
public field_save ( string $key, mixed $value )
$key string The name of a form component that will be stored
$value mixed The value of the form component to store