AddView   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 3

1 Method

Rating   Name   Duplication   Size   Complexity  
A display() 0 10 1
1
<?php
2
3
namespace Rudolf\Modules\Users\One\Admin\Profile;
4
5
use Rudolf\Framework\View\AdminView;
6
use Rudolf\Modules\Users\One\Admin\User;
7
8
class AddView extends AdminView
9
{
10
    protected $user;
11
12
    protected $path;
13
14
    public function display()
15
    {
16
        $this->pageTitle = _('Profile');
17
        $this->head->setTitle($this->pageTitle);
18
19
        $this->user         = new User();
20
        $this->path         = DIR.'/admin/users/add';
21
        $this->templateType = 'add';
22
        $this->template     = 'user-one';
23
    }
24
}
25