PluginHandler   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace XoopsModules\Xsitemap;
4
5
/*
6
 * ****************************************************************************
7
 * xsitemap - MODULE FOR XOOPS CMS
8
 * Copyright (c) Urbanspaceman (http://www.takeaweb.it)
9
 *
10
 * You may not change or alter any portion of this comment or credits
11
 * of supporting developers from this source code or any supporting source code
12
 * which is considered copyrighted (c) material of the original comment or credit authors.
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
 */
17
/**
18
 * Module: xsitemap
19
 *
20
 * @package    module\Xsitemap\class
21
 * @author     XOOPS Module Development Team
22
 * @author     Urbanspaceman (http://www.takeaweb.it)
23
 * @copyright  Urbanspaceman (http://www.takeaweb.it)
24
 * @copyright  XOOPS Project (https://xoops.org)
25
 * @license    http://www.fsf.org/copyleft/gpl.html GNU public license
26
 * @link       https://xoops.org XOOPS
27
 * @since      1.00
28
 */
29
30
/**
31
 * Class PluginHandler
32
 */
33
class PluginHandler extends \XoopsPersistableObjectHandler
34
{
35
    /**
36
     * PluginHandler constructor.
37
     * @param null|\XoopsDatabase $db
38
     */
39
    public function __construct(\XoopsDatabase $db = null)
40
    {
41
        parent::__construct($db, 'xsitemap_plugin', Plugin::class, 'plugin_id', 'plugin_name');
42
    }
43
}
44