PHP Interface Carbon_Fields\Datastore\Datastore_Interface

Show file Open project: htmlburger/carbon-fields Interface Usage Examples

Public Methods

Method Description
delete ( Field $field ) Delete the field value(s) from the database.
delete_values ( mixed $field ) Delete complex field value(s) from the database.
load ( Field $field ) Load the field value(s) from the database.
load_values ( mixed $field ) Load complex field value(s) from the database.
save ( Field $field ) Save the field value(s) into the database.

Method Details

delete() public method

Delete the field value(s) from the database.
public delete ( Field $field )
$field Carbon_Fields\Field\Field The field to delete.

delete_values() public method

Delete complex field value(s) from the database.
public delete_values ( mixed $field )
$field mixed The field to delete values for.

load() public method

Load the field value(s) from the database.
public load ( Field $field )
$field Carbon_Fields\Field\Field The field to retrieve value for.

load_values() public method

Load complex field value(s) from the database.
public load_values ( mixed $field )
$field mixed The field to load values for.

save() public method

Save the field value(s) into the database.
public save ( Field $field )
$field Carbon_Fields\Field\Field The field to save.