PHP Class Carbon_Fields\Datastore\User_Meta_Datastore

Inheritance: extends Meta_Datastore
Afficher le fichier Open project: htmlburger/carbon-fields

Protected Properties

Свойство Type Description
$user_id integer ID of the user.

Méthodes publiques

Méthode 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 méthode

Retrieve the user ID of the datastore.
public get_id ( ) : integer
Résultat integer ID of the user.

get_meta_type() public méthode

Retrieve the type of meta data.
public get_meta_type ( ) : string
Résultat string

get_table_field_name() public méthode

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

get_table_name() public méthode

Retrieve the meta table name to query.
public get_table_name ( ) : string
Résultat string

load_values() public méthode

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

set_id() public méthode

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
Résultat integer