Intraface_Category   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
ccs 0
cts 5
cp 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
class Intraface_Category extends Ilib_Category
3
{
4
    public function __construct($kernel, $db, $type, $id = null)
5
    {
6
        $options = array('extra_condition' => array('intranet_id = '.$kernel->intranet->getId()));
7
        parent::__construct($db, $type, $id, $options);
8
    }
9
}
10