dockerwiki/content/inc/Menu/Item/ImgBackto.php

25 lines
500 B
PHP
Raw Permalink Normal View History

2021-10-26 13:02:53 +02:00
<?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;
}
}