1
|
|
|
<?php declare(strict_types=1); |
2
|
|
|
|
3
|
|
|
namespace XoopsModules\Xhttperror; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* **************************************************************************** |
7
|
|
|
* - A Project by Developers TEAM For Xoops - ( https://xoops.org ) |
8
|
|
|
* **************************************************************************** |
9
|
|
|
* XHTTPERROR - MODULE FOR XOOPS |
10
|
|
|
* Copyright (c) 2007 - 2012 |
11
|
|
|
* Rota Lucio ( http://luciorota.altervista.org/xoops/ ) |
12
|
|
|
* |
13
|
|
|
* You may not change or alter any portion of this comment or credits |
14
|
|
|
* of supporting developers from this source code or any supporting |
15
|
|
|
* source code which is considered copyrighted (c) material of the |
16
|
|
|
* original comment or credit authors. |
17
|
|
|
* |
18
|
|
|
* This program is distributed in the hope that it will be useful, |
19
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
20
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
21
|
|
|
* GNU General Public License for more details. |
22
|
|
|
* --------------------------------------------------------------------------- |
23
|
|
|
* @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) |
24
|
|
|
* @license GNU General Public License v3.0 |
25
|
|
|
* @package xhttperror |
26
|
|
|
* @author Rota Lucio ( [email protected] ) |
27
|
|
|
* |
28
|
|
|
* $Rev$: Revision of last commit |
29
|
|
|
* $Author$: Author of last commit |
30
|
|
|
* $Date$: Date of last commit |
31
|
|
|
* **************************************************************************** |
32
|
|
|
*/ |
33
|
|
|
class ReportHandler extends \XoopsPersistableObjectHandler |
34
|
|
|
{ |
35
|
|
|
/** |
36
|
|
|
* ReportHandler constructor. |
37
|
|
|
*/ |
38
|
|
|
public function __construct(?\XoopsDatabase $db = null) |
39
|
|
|
{ |
40
|
|
|
parent::__construct($db, 'xhttperror_reports', Report::class, 'report_id', 'report_date'); |
41
|
|
|
} |
42
|
|
|
} |
43
|
|
|
|