1<?php 2 3namespace dokuwiki\Menu\Item; 4 5/** 6 * Class ImgBackto 7 * 8 * Links back to the originating page from a detail image view 9 */ 10class ImgBackto extends AbstractItem 11{ 12 13 /** @inheritdoc */ 14 public function __construct() 15 { 16 global $ID; 17 parent::__construct(); 18 19 $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg'; 20 $this->type = 'img_backto'; 21 $this->params = []; 22 $this->accesskey = 'b'; 23 $this->replacement = $ID; 24 } 25 26} 27