Link   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php declare(strict_types=1);
2
3
namespace XoopsModules\Tag;
4
5
/*
6
 You may not change or alter any portion of this comment or credits
7
 of supporting developers from this source code or any supporting source code
8
 which is considered copyrighted (c) material of the original comment or credit authors.
9
10
 This program is distributed in the hope that it will be useful,
11
 but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
*/
14
15
/**
16
 * XOOPS tag management module
17
 *
18
 * @copyright       {@link https://sourceforge.net/projects/xoops/ The XOOPS Project}
19
 * @license         {@link https://www.fsf.org/copyleft/gpl.html GNU public license}
20
 * @author          Taiwen Jiang <[email protected]>
21
 * @since           1.00
22
 */
23
24
/**
25
 * Class TagLink
26
 */
27
class Link extends \XoopsObject
28
{
29
    /**
30
     * Constructor
31
     */
32
    public function __construct()
33
    {
34
        $this->initVar('tl_id', \XOBJ_DTYPE_INT, null, false);
35
        $this->initVar('tag_id', \XOBJ_DTYPE_INT, 0);
36
        $this->initVar('tag_modid', \XOBJ_DTYPE_INT, 0);
37
        $this->initVar('tag_catid', \XOBJ_DTYPE_INT, 0);
38
        $this->initVar('tag_itemid', \XOBJ_DTYPE_INT, 0);
39
        $this->initVar('tag_time', \XOBJ_DTYPE_INT, 0);
40
    }
41
}
42