Passed
Push — master ( 22887c...b0a7cb )
by Michael
04:05 queued 02:12
created

Language   A

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 http://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
//require(XOOPS_ROOT_PATH."/class/xoopslists.php");
25
//require(XOOPS_ROOT_PATH.'/modules/xlanguage/include/vars.php');
26
//require(XOOPS_ROOT_PATH.'/modules/xlanguage/class/Utility.php');
27
28
/**
29
 * Class Language
30
 */
31
class Language extends Xlanguage\Blanguage
32
{
33
    public $lang_base;
34
35
    /**
36
     * Language constructor.
37
     * @param bool $isBase
38
     */
39
    public function __construct($isBase = false)
40
    {
41
        parent::__construct($isBase);
42
        $this->table = $this->db->prefix('xlanguage_ext');
43
        $this->initVar('lang_base', XOBJ_DTYPE_TXTBOX);
44
    }
45
}
46