PHP 인터페이스 Habari\FormStorage

Describes functions that are required to store form data into an object
파일 보기 프로젝트 열기: habari/system

공개 메소드들

메소드 설명
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