PHP Class Carbon_Fields\Datastore\Meta_Datastore

Inheritance: extends Datastore
Datei anzeigen Open project: htmlburger/carbon-fields Class 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.
get_field_name ( $field ) Retrieve field name
get_id ( ) Retrieve the ID of the datastore.
get_meta_type ( ) Retrieve the type of meta data.
get_table_field_name ( ) Retrieve the meta table field name to query by.
get_table_name ( ) Retrieve the meta table name to query.
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.
set_id ( $id ) Set the ID of the datastore.

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.

get_field_name() public method

Retrieve field name
public get_field_name ( $field )

get_id() abstract public method

Retrieve the ID of the datastore.
abstract public get_id ( )

get_meta_type() abstract public method

Retrieve the type of meta data.
abstract public get_meta_type ( )

get_table_field_name() abstract public method

Retrieve the meta table field name to query by.
abstract public get_table_field_name ( )

get_table_name() abstract public method

Retrieve the meta table name to query.
abstract public get_table_name ( )

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.

set_id() abstract public method

Set the ID of the datastore.
abstract public set_id ( $id )