Filters extends BaseSchema
Defines the filters database table schema.
Table of Contents
- $table_name : string
 - Name of the table to which the schema belongs to.
 - $db : DatabaseCapsule
 - Holds the database capsule service.
 - __construct() : mixed
 - Get things started.
 - create() : void
 - {@inheritdoc }
 - register() : void
 - Create the database table if it doesn't exist.
 - has_table() : bool
 - Determine if the table currently exists.
 
Properties
$table_name
Name of the table to which the schema belongs to.
    public
        string
    $table_name
     = \Barn2\Plugin\WC_Filters\Plugin::META_PREFIX . 'filters'
        Without db prefix.
$db
Holds the database capsule service.
    protected
        DatabaseCapsule
    $db
    
    
    
    
Methods
__construct()
Get things started.
    public
                __construct() : mixed
    
    
    
        Return values
mixed —create()
{@inheritdoc }
    public
                create() : void
    
    
    
        Return values
void —register()
Create the database table if it doesn't exist.
    public
                register() : void
    
    
    
        Return values
void —has_table()
Determine if the table currently exists.
    private
                has_table() : bool