Passed
Pull Request — master (#81)
by Michael
02:55
created

Regstep   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace XoopsModules\Yogurt;
6
7
/**
8
 * Extended User Profile
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       (c) 2000-2016 XOOPS Project (www.xoops.org)
18
 * @license             GNU GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
19
 * @package             profile
20
 * @since               2.3.0
21
 * @author              Jan Pedersen
22
 * @author              Taiwen Jiang <[email protected]>
23
 */
24
25
// defined('XOOPS_ROOT_PATH') || exit("XOOPS root path not defined");
26
27
/**
28
 * Class Regstep
29
 */
30
class Regstep extends \XoopsObject
31
{
32
    public function __construct()
33
    {
34
        $this->initVar('step_id', \XOBJ_DTYPE_INT);
35
36
        $this->initVar('step_name', \XOBJ_DTYPE_TXTBOX);
37
38
        $this->initVar('step_desc', \XOBJ_DTYPE_TXTAREA);
39
40
        $this->initVar('step_order', \XOBJ_DTYPE_INT, 1);
41
42
        $this->initVar('step_save', \XOBJ_DTYPE_INT, 0);
43
    }
44
}
45