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

BlocksCallHandler::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
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