Class WPDA_Plugin_Table_Base_Model

Base class to handle standard plugin table features

author Peter Schulz
since 2.6.0
package WPDataAccess\Plugin_Table_Models

 Methods

Check if const BASE_TABLE_NAME is defined (cannot proceed without)

check_base_table_name() 
Static

Return number of records in base table

count() : integer
Static

Returns

integer

Get base table name

get_base_table_name() : string
Static

Returns

stringBase table name

Check if base table exists

table_exists() : boolean
Static

Returns

booleanTRUE = table found

 Constants

 

Base table name (without prefixes): MUST BE DEFINED IN SUBCLASS!!!

BASE_TABLE_NAME = null