PHP Class Carbon_Fields\Datastore\User_Meta_Datastore

Inheritance: extends Meta_Datastore
Datei anzeigen Open project: htmlburger/carbon-fields

Protected Properties

Property Type Description
$user_id integer ID of the user.

Public Methods

Method Description
get_id ( ) : integer Retrieve the user 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.
load_values ( mixed $field ) Load complex field value(s) from the database.
set_id ( integer $user_id ) Set the user ID of the datastore.

Method Details

get_id() public method

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

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

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.

set_id() public method

Set the user ID of the datastore.
public set_id ( integer $user_id )
$user_id integer ID of the user.

Property Details

$user_id protected_oe property

ID of the user.
protected int $user_id
return integer