mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-14 00:33:41 +02:00
feat: change class properties from private to protected
This commit is contained in:
parent
619f43b3bf
commit
e7c0556f62
1 changed files with 6 additions and 8 deletions
|
@ -14,16 +14,14 @@
|
||||||
|
|
||||||
// Interface for MySQL_Driver with abstractions for data manipulation
|
// Interface for MySQL_Driver with abstractions for data manipulation
|
||||||
class MySQL extends mysqli {
|
class MySQL extends mysqli {
|
||||||
private string $table;
|
|
||||||
|
|
||||||
private ?string $limit = null;
|
|
||||||
private ?string $order_by = null;
|
|
||||||
private array $filter_values = [];
|
|
||||||
private ?string $filter_sql = null;
|
|
||||||
|
|
||||||
// Array of last SELECT-ed columns
|
|
||||||
public ?array $columns = null;
|
public ?array $columns = null;
|
||||||
|
|
||||||
|
protected string $table;
|
||||||
|
protected ?string $limit = null;
|
||||||
|
protected ?string $order_by = null;
|
||||||
|
protected array $filter_values = [];
|
||||||
|
protected ?string $filter_sql = null;
|
||||||
|
|
||||||
// Pass constructor arguments to driver
|
// Pass constructor arguments to driver
|
||||||
function __construct() {
|
function __construct() {
|
||||||
parent::__construct(...func_get_args());
|
parent::__construct(...func_get_args());
|
||||||
|
|
Loading…
Add table
Reference in a new issue