Passed
Pull Request — master (#5)
by Michael
02:50
created

ModifiedHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace XoopsModules\Tdmdownloads;
4
5
/**
6
 * TDMDownload
7
 *
8
 * You may not change or alter any portion of this comment or credits
9
 * of supporting developers from this source code or any supporting source code
10
 * which is considered copyrighted (c) material of the original comment or credit authors.
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 *
15
 * @copyright   Gregory Mage (Aka Mage)
16
 * @license     GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
17
 * @author      Gregory Mage (Aka Mage)
18
 */
19
defined('XOOPS_ROOT_PATH') || die('Restricted access');
20
21
/**
22
 * Class ModifiedHandler
23
 * @package XoopsModules\Tdmdownloads
24
 */
25
class ModifiedHandler extends \XoopsPersistableObjectHandler
26
{
27
    /**
28
     * ModifiedHandler constructor.
29
     * @param \XoopsDatabase|null $db
30
     */
31
    public function __construct(\XoopsDatabase $db = null)
32
    {
33
        parent::__construct($db, 'tdmdownloads_mod', Modified::class, 'requestid', 'lid');
34
    }
35
}
36