Completed
Push — master ( d7cd82...c94b19 )
by Mikołaj
04:50
created

ItemDelView   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A display() 0 10 1
1
<?php
2
3
namespace Rudolf\Modules\Appearance\Menu\Item;
4
5
use Rudolf\Framework\View\AdminView;
6
7
class ItemDelView extends AdminView
8
{
9
    protected $item;
10
    protected $path;
11
12
    public function display($data)
13
    {
14
        $this->pageTitle = _('Menu editor');
15
        $this->head->setTitle($this->pageTitle);
16
        $this->item = $data;
17
18
        $this->path = '';
19
20
        $this->template = 'menu-del';
21
    }
22
}
23