2021-09-22 16:32:35 -04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 josh.north@point808.com
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get visit info as array by visit id. Pass % for all.
|
|
|
|
* TODO - break into select sections for speed by pagination
|
|
|
|
* Pass NULL for nulls, % for any not null
|
|
|
|
*
|
|
|
|
* @author josh.north
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace classes;
|
|
|
|
use App\LobbySIO\Config\Registry;
|
|
|
|
|
|
|
|
class visit {
|
|
|
|
public function dbprefix() {
|
2021-10-13 01:54:39 -04:00
|
|
|
//echo Registry::DB_PRFX;
|
2021-09-22 16:32:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Properties
|
|
|
|
public $name;
|
|
|
|
public $color;
|
|
|
|
|
|
|
|
// Methods
|
|
|
|
function set_name($name) {
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
function get_name() {
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|