PHP Class Carbon_Fields\Datastore\Theme_Options_Datastore

Inheritance: extends Datastore
Show file Open project: htmlburger/carbon-fields

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.
init ( ) Initialization tasks.
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.

init() public method

Initialization tasks.
public init ( )

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.