Rough encrypt

This commit is contained in:
2021-09-22 16:32:35 -04:00
parent f8f37fe6e2
commit 14d5e510aa
3 changed files with 145 additions and 64 deletions

55
classes/visit.php Normal file
View File

@@ -0,0 +1,55 @@
<?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() {
echo Registry::DB_PRFX;
}
// Properties
public $name;
public $color;
// Methods
function set_name($name) {
$this->name = $name;
}
function get_name() {
return $this->name;
}
}