Completed
Push — master ( 2f6fab...c5b9c9 )
by Goffy
11s queued 10s
created

BlocksCallHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace XoopsModules\Tools;
4
5
/**
6
 * tools Module for XOOPS
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       XOOPS Project (https://xoops.org)
16
 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
17
 * @package         tools
18
 * @since           2.00
19
 * @author          Susheng Yang <[email protected]>
20
 */
21
22
23
class BlocksCallHandler extends \XoopsPersistableObjectHandler
24
{
25
    public function __construct(\XoopsDatabase $db)
26
    {
27
        parent::__construct($db, 'tools_blocks', BlocksCall::class, 'bid', 'name');
28
    }
29
}
30