PHP Класс Carbon_Fields\Datastore\Meta_Datastore

Наследование: extends Datastore
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

delete() публичный Метод

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

delete_values() публичный Метод

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

get_field_name() публичный Метод

Retrieve field name
public get_field_name ( $field )

get_id() абстрактный публичный Метод

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

get_meta_type() абстрактный публичный Метод

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

get_table_field_name() абстрактный публичный Метод

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

get_table_name() абстрактный публичный Метод

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

init() публичный Метод

Initialization tasks.
public init ( )

load() публичный Метод

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() публичный Метод

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

save() публичный Метод

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

set_id() абстрактный публичный Метод

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