declare class variables

This commit is contained in:
Uwe Steinmann 2025-07-30 14:27:54 +02:00
parent 0c2f3c651a
commit a194b7bc5b

View File

@ -1408,6 +1408,8 @@ class SeedDMS_Search { /* {{{ */
public $searchparams; public $searchparams;
protected $total;
protected $dcount; protected $dcount;
protected $fcount; protected $fcount;
@ -1420,6 +1422,8 @@ class SeedDMS_Search { /* {{{ */
protected $searchTime; protected $searchTime;
protected $facets;
public function __construct($dms, $user, $fulltextservice, $settings) { public function __construct($dms, $user, $fulltextservice, $settings) {
$this->dms = $dms; $this->dms = $dms;
$this->user = $user; $this->user = $user;
@ -1428,6 +1432,7 @@ class SeedDMS_Search { /* {{{ */
$this->searchparams = []; $this->searchparams = [];
$this->dcount = 0; $this->dcount = 0;
$this->fcount = 0; $this->fcount = 0;
$this->total = 0;
$this->totalPages = 0; $this->totalPages = 0;
$this->entries = array(); $this->entries = array();
$this->terms = array(); $this->terms = array();