|
1
|
|
|
<?php namespace XoopsModules\Gbook; |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* **************************************************************************** |
|
5
|
|
|
* GBOOK - MODULE FOR XOOPS |
|
6
|
|
|
* Copyright (c) 2007 - 2012 |
|
7
|
|
|
* Ingo H. de Boer (http://www.winshell.org) |
|
8
|
|
|
* |
|
9
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
10
|
|
|
* it under the terms of the GNU General Public License as published by |
|
11
|
|
|
* the Free Software Foundation; either version 2 of the License, or |
|
12
|
|
|
* (at your option) any later version. |
|
13
|
|
|
* |
|
14
|
|
|
* You may not change or alter any portion of this comment or credits |
|
15
|
|
|
* of supporting developers from this source code or any supporting |
|
16
|
|
|
* source code which is considered copyrighted (c) material of the |
|
17
|
|
|
* original comment or credit authors. |
|
18
|
|
|
* |
|
19
|
|
|
* This program is distributed in the hope that it will be useful, |
|
20
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22
|
|
|
* GNU General Public License for more details. |
|
23
|
|
|
* --------------------------------------------------------------------------- |
|
24
|
|
|
* |
|
25
|
|
|
* @copyright Ingo H. de Boer (http://www.winshell.org) |
|
26
|
|
|
* @license GNU General Public License (GPL) |
|
27
|
|
|
* @package GBook |
|
28
|
|
|
* @author Ingo H. de Boer ([email protected]) |
|
29
|
|
|
* |
|
30
|
|
|
* **************************************************************************** |
|
31
|
|
|
*/ |
|
32
|
|
|
|
|
33
|
|
|
use Xmf\Request; |
|
|
|
|
|
|
34
|
|
|
use XoopsModules\Gbook; |
|
35
|
|
|
|
|
36
|
|
|
|
|
37
|
|
|
/** |
|
38
|
|
|
* @package kernel |
|
39
|
|
|
* @copyright copyright © 2000 XOOPS.org |
|
40
|
|
|
*/ |
|
41
|
|
|
class EntriesHandler extends \XoopsPersistableObjectHandler |
|
|
|
|
|
|
42
|
|
|
{ |
|
43
|
|
|
/** |
|
44
|
|
|
* @param null|\XoopsDatabase $db |
|
45
|
|
|
*/ |
|
46
|
|
|
public function __construct(\XoopsDatabase $db) |
|
|
|
|
|
|
47
|
|
|
{ |
|
48
|
|
|
parent::__construct($db, 'gbook_entries', Entries::class, 'id', 'name', 'email', 'url', 'message', 'note', 'time', 'date', 'ip', 'admin'); |
|
49
|
|
|
} |
|
50
|
|
|
} |
|
51
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths