declare class variables

This commit is contained in:
Uwe Steinmann 2025-07-30 14:27:37 +02:00
parent 01f210ad43
commit 0c2f3c651a
4 changed files with 20 additions and 2 deletions

View File

@ -31,6 +31,8 @@
*/
class SeedDMS_View_LogManagement extends SeedDMS_Theme_Style {
protected $logdir;
function filelist($entries, $mode) { /* {{{ */
$print_header = true;
foreach ($entries as $entry){

View File

@ -31,6 +31,18 @@
*/
class SeedDMS_View_ManageNotify extends SeedDMS_Theme_Style {
protected $dms;
protected $user;
protected $cachedir;
protected $previewwidth;
protected $timeout;
protected $xsendfile;
// Get list of subscriptions for documents or folders for user or groups
function getNotificationList($as_group, $folders) { /* {{{ */
@ -167,7 +179,6 @@ $(document).ready( function() {
$this->user = $this->params['user'];
$this->cachedir = $this->params['cachedir'];
$this->previewwidth = $this->params['previewWidthList'];
$this->db = $this->dms->getDB();
$this->timeout = $this->params['timeout'];
$this->xsendfile = $this->params['xsendfile'];

View File

@ -31,6 +31,8 @@
*/
class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
protected $needsrepair;
function tree($dms, $folder, $previewer, $repair, $path=':', $indent='') { /* {{{ */
global $user;
@ -182,7 +184,6 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$setfilesize = $this->params['setfilesize'];
$setchecksum = $this->params['setchecksum'];
$rootfolder = $this->params['rootfolder'];
$this->enableClipboard = $this->params['enableclipboard'];
$conversionmgr = $this->params['conversionmgr'];
$cachedir = $this->params['cachedir'];
$previewwidth = $this->params['previewWidthList'];

View File

@ -31,6 +31,10 @@
*/
class SeedDMS_View_Search extends SeedDMS_Theme_Style {
/*
*/
protected $query;
/**
* Mark search query sting in a given string
*