AddView::display()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 10
rs 9.9332
c 0
b 0
f 0
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