\Barn2\Plugin\Posts_Table_ProTable_Factory

A factory for creating Posts_Table objects.

Summary

Methods
Properties
Constants
create()
fetch()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
generate_id()
$tables
$current_id
N/A

Properties

$tables

$tables :

Type

$current_id

$current_id :

Type

Methods

create()

create(array  $args): \Barn2\Plugin\Posts_Table_Pro\Posts_Table

Create new table based on the supplied args.

Parameters

array $args

The args to use for the table.

Returns

\Barn2\Plugin\Posts_Table_Pro\Posts_Table

The posts table object.

fetch()

fetch(string  $id): \Barn2\Plugin\Posts_Table_Pro\Posts_Table

Fetch an existing table by ID.

Parameters

string $id

The posts table ID.

Returns

\Barn2\Plugin\Posts_Table_Pro\Posts_Table

The posts table object.

generate_id()

generate_id(  $args)

Parameters

$args