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

ItemDelView::display()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

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