ImgBackto.php 500 B

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