PHP Интерфейс Habari\FormStorage

Describes functions that are required to store form data into an object
Показать файл Открыть проект

Открытые методы

Метод Описание
field_load ( string $key ) : mixed Loads form values from an object
field_save ( string $key, mixed $value ) Stores a form value into the object

Описание методов

field_load() публичный Метод

Loads form values from an object
public field_load ( string $key ) : mixed
$key string The name of a form component that will be loaded
Результат mixed The stored value returned

field_save() публичный Метод

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