Public Member Functions

FormStorage Interface Reference

Inheritance diagram for FormStorage:

List of all members.

Public Member Functions

 field_save ($key, $value)
 field_load ($key)

Detailed Description

interface FormStorage

Describes functions that are required to store form data into an object

Definition at line 11 of file formstorage.php.


Member Function Documentation

FormStorage::field_load ( key  ) 

Loads form values from an object

Parameters:
string $key The name of a form component that will be loaded
Returns:
mixed The stored value returned

Implemented in Block, ControlStorage, Post, and Terms.

FormStorage::field_save ( key,
value 
)

Stores a form value into the object

Parameters:
string $key The name of a form component that will be stored
mixed $value The value of the form component to store

Implemented in Block, ControlStorage, Post, and Terms.


The documentation for this interface was generated from the following file: