Completed
Push — master ( 06b50b...ceafbf )
by Vitaly
03:00
created

MaterialNavigation::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
rs 9.6667
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: VITALYIEGOROV
5
 * Date: 08.12.15
6
 * Time: 23:11
7
 */
8
namespace samsoncms\api\query;
9
10
use samson\activerecord\dbQuery;
11
12
class MaterialNavigation extends Base
13
{
14
    /** MaterialQuery constructor */
15
    public function __construct()
16
    {
17
        parent::__construct(
18
            new dbQuery(),
19
            __NAMESPACE__.'\Material',
20
            Navigation::$_primary,
21
            CMS::MATERIAL_NAVIGATION_RELATION_ENTITY
22
        );
23
    }
24
}
25