Class WPDP_Project_Model

Model for plugin table 'wpda_project'

author Peter Schulz
since 2.6.0
package WPDataAccess\Plugin_Table_Models
inherited_from \WPDataAccess\Plugin_Table_Models\WPDA_Plugin_Table_Base_Model

 Methods

Check if const BASE_TABLE_NAME is defined (cannot proceed without)

check_base_table_name() 
InheritedStatic

Return number of records in base table

count() : integer
InheritedStatic

Returns

integer

Method overwritten for different table name handling

get_base_table_name() : string
Static
inherited_from \WPDataAccess\Plugin_Table_Models\WPDA_Plugin_Table_Base_Model::get_base_table_name()

Returns

stringTable name

Get base table name

get_base_table_name() : string
InheritedStatic

Returns

stringBase table name

Check if base table exists

table_exists() : boolean
InheritedStatic

Returns

booleanTRUE = table found

 Constants

 

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

BASE_TABLE_NAME = 'wpda_project' 
inherited_from \WPDataAccess\Plugin_Table_Models\WPDA_Plugin_Table_Base_Model::BASE_TABLE_NAME
 

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

BASE_TABLE_NAME = null