Passed
Pull Request — master (#5)
by Michael
02:50
created

Modifiedfielddata   A

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
namespace XoopsModules\Tdmdownloads;
4
5
/**
6
 * TDMDownload
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   Gregory Mage (Aka Mage)
16
 * @license     GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
17
 * @author      Gregory Mage (Aka Mage)
18
 */
19
defined('XOOPS_ROOT_PATH') || die('Restricted access');
20
21
/**
22
 * Class Modifiedfielddata
23
 * @package XoopsModules\Tdmdownloads
24
 */
25
class Modifiedfielddata extends \XoopsObject
26
{
27
    // constructor
28
    public function __construct()
29
    {
30
        $this->initVar('modiddata', XOBJ_DTYPE_INT, null, false, 11);
31
        $this->initVar('fid', XOBJ_DTYPE_INT, null, false, 11);
32
        $this->initVar('lid', XOBJ_DTYPE_INT, null, false, 11);
33
        $this->initVar('moddata', XOBJ_DTYPE_TXTAREA, null, false);
34
        $this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);
35
    }
36
}
37