PHP Class Carbon_Fields\Datastore\Post_Meta_Datastore

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

Protected Properties

Property Type Description
$post_id integer ID of the post.

Public Methods

Method Description
get_id ( ) : integer Retrieve the post ID of the datastore.
get_meta_type ( ) : string Retrieve the type of meta data.
get_table_field_name ( ) : string Retrieve the meta table field name to query by.
get_table_name ( ) : string Retrieve the meta table name to query.
set_id ( integer $id ) Set the post ID of the datastore.

Method Details

get_id() public method

Retrieve the post ID of the datastore.
public get_id ( ) : integer
return integer ID of the post.

get_meta_type() public method

Retrieve the type of meta data.
public get_meta_type ( ) : string
return string

get_table_field_name() public method

Retrieve the meta table field name to query by.
public get_table_field_name ( ) : string
return string

get_table_name() public method

Retrieve the meta table name to query.
public get_table_name ( ) : string
return string

set_id() public method

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

Property Details

$post_id protected property

ID of the post.
protected int $post_id
return integer