Passed
Push — master ( c6150b...ef80b0 )
by Mihail
05:01
created

Profile::actionSettings()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 16
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 16
rs 9.9332
c 0
b 0
f 0
cc 3
nc 3
nop 0
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
use Apps\Model\Admin\Profile\FormSettings;
6
use Extend\Core\Arch\AdminController;
7
use Ffcms\Core\App;
8
9
/**
10
 * Class Profile. Admin controller of profile application.
11
 * @package Apps\Controller\Admin
12
 */
13
class Profile extends AdminController
14
{
15
    const VERSION = '1.0.1';
16
    const ITEM_PER_PAGE = 10;
17
18
    public $type = 'app';
19
20
    /** Import heavy actions */
21
    use Profile\ActionIndex {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Profile\ActionIndex requires the property $query which is not provided by Apps\Controller\Admin\Profile.
Loading history...
22
        index as actionIndex;
23
    }
24
25
    use Profile\ActionUpdate {
0 ignored issues
show
introduced by
The trait Apps\Controller\Admin\Profile\ActionUpdate requires some properties which are not provided by Apps\Controller\Admin\Profile: $user_id, $user
Loading history...
26
        profileUpdate as actionUpdate;
27
    }
28
29
    use Profile\ActionFieldList {
30
        profileFieldList as actionFieldlist;
31
    }
32
33
    use Profile\ActionFieldUpdate {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Profile\ActionFieldUpdate requires the property $id which is not provided by Apps\Controller\Admin\Profile.
Loading history...
34
        profileFieldUpdate as actionFieldupdate;
35
    }
36
37
    use Profile\ActionFieldDelete {
38
        profileFieldDelete as actionFielddelete;
39
    }
40
41
    use Profile\ActionSettings {
42
        settings as actionSettings;
43
    }
44
}
45