Language   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace XoopsModules\Xlanguage;
4
5
/**
6
 * xLanguage module (eXtensible Language Management 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      {@link https://www.gnu.org/licenses/gpl-2.0.html GNU Public License}
17
 * @package      xlanguage
18
 * @since        2.0
19
 * @author       D.J.(phppp) [email protected]
20
 **/
21
22
use XoopsModules\Xlanguage;
23
24
25
26
//require(XOOPS_ROOT_PATH."/class/xoopslists.php");
27
//require XOOPS_ROOT_PATH.'/modules/xlanguage/include/vars.php';
28
//require XOOPS_ROOT_PATH.'/modules/xlanguage/class/Utility.php';
29
30
/**
31
 * Class Language
32
 */
33
class Language extends Xlanguage\Blanguage
34
{
35
    public $lang_base;
36
37
    /**
38
     * Language constructor.
39
     * @param bool $isBase
40
     */
41
    public function __construct($isBase = false)
42
    {
43
        parent::__construct($isBase);
44
        $this->table = $this->db->prefix('xlanguage_ext');
45
        $this->initVar('lang_base', \XOBJ_DTYPE_TXTBOX);
46
    }
47
}
48