$table
$table : string
Table
Abstract Gateway class
$sql : \Pop\Db\Sql
Sql object
__construct(\Pop\Db\Sql $sql, string $table = null) : \Pop\Db\Gateway\AbstractGateway
Constructor
Instantiate the AbstractGateway object.
\Pop\Db\Sql | $sql | |
string | $table |
setTable(string $table) : \Pop\Db\Gateway\AbstractGateway
Set the table
string | $table |
setPrimaryKeys(mixed $keys) : \Pop\Db\Gateway\AbstractGateway
Set the primary keys
mixed | $keys |
getSql() : \Pop\Db\Sql
Get the SQL object
sql() : \Pop\Db\Sql
Get the SQL object (alias method)