Completed
Push — svgpagetools ( 17ef2a...7c844e )
by Andreas
04:40
created

ImgBackto::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 8
nc 1
nop 0
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace dokuwiki\Menu\Item;
4
5
class ImgBackto extends AbstractItem {
6
7
    /** @inheritdoc */
8
    public function __construct() {
9
        global $ID;
10
        parent::__construct();
11
12
        $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
13
        $this->type = 'img_backto';
14
        $this->params = array();
15
        $this->accesskey = 'b';
16
        $this->replacement = $ID;
17
    }
18
19
}
20