\MainWP\Dashboard\Module\LogLog_DB_Driver

Interface - Log_DB_Driver

Summary

Methods
Constants
insert_record()
get_records()
get_column_values()
get_table_names()
purge_storage()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

insert_record()

insert_record(array  $data) : integer

Insert a record

Parameters

array $data

Data to be insert into the database.

Returns

integer

get_records()

get_records(array  $args) : array

Retrieve records

Parameters

array $args

Argument to filter the result by.

Returns

array

get_column_values()

get_column_values(string  $column) : array

Returns array of existing values for requested column.

Used to fill search filters with only used items, instead of all items.

Parameters

string $column

Column to pull data from.

Returns

array

get_table_names()

get_table_names() : array

Public getter to return the names of the tables this driver manages.

Returns

array