summaryrefslogtreecommitdiff
path: root/platform/www/inc/Menu/Item/ImgBackto.php
blob: 72820a53a5cc8424554c07e7991fbae1a141a303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace dokuwiki\Menu\Item;

/**
 * Class ImgBackto
 *
 * Links back to the originating page from a detail image view
 */
class ImgBackto extends AbstractItem {

    /** @inheritdoc */
    public function __construct() {
        global $ID;
        parent::__construct();

        $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
        $this->type = 'img_backto';
        $this->params = array();
        $this->accesskey = 'b';
        $this->replacement = $ID;
    }

}