Change var to public

This commit is contained in:
Jakub Vrana
2025-03-11 08:08:32 +01:00
parent 0c15a9f42d
commit 1e963cf90f
14 changed files with 75 additions and 75 deletions

View File

@@ -9,7 +9,7 @@ if (isset($_GET["elastic"])) {
if (ini_bool('allow_url_fopen')) {
class Db {
var $extension = "JSON", $server_info, $errno, $error;
public $extension = "JSON", $server_info, $errno, $error;
private $url;
/**
@@ -97,7 +97,7 @@ if (isset($_GET["elastic"])) {
}
class Result {
var $num_rows;
public $num_rows;
private $rows;
function __construct($rows) {
@@ -126,8 +126,8 @@ if (isset($_GET["elastic"])) {
static $possibleDrivers = array("json + allow_url_fopen");
static $jush = "elastic";
var $editFunctions = array(array("json"));
var $operators = array("=", "must", "should", "must_not");
public $editFunctions = array(array("json"));
public $operators = array("=", "must", "should", "must_not");
function __construct($connection) {
parent::__construct($connection);