Fielddata   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace XoopsModules\Tdmdownloads;
6
7
/**
8
 * TDMDownload
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
 * @copyright   Gregory Mage (Aka Mage)
18
 * @license     GNU GPL 2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
19
 * @author      Gregory Mage (Aka Mage)
20
 */
21
22
/**
23
 * Class Fielddata
24
 * @package XoopsModules\Tdmdownloads
25
 */
26
class Fielddata extends \XoopsObject
27
{
28
    // constructor
29
    public function __construct()
30
    {
31
        $this->initVar('iddata', \XOBJ_DTYPE_INT, null, false, 11);
32
        $this->initVar('fid', \XOBJ_DTYPE_INT, null, false, 11);
33
        $this->initVar('lid', \XOBJ_DTYPE_INT, null, false, 11);
34
        $this->initVar('data', \XOBJ_DTYPE_TXTBOX, null, false);
35
        $this->initVar('dohtml', \XOBJ_DTYPE_INT, 1, false);
36
    }
37
}
38