1<?php 2 3namespace dokuwiki\Menu\Item; 4 5/** 6 * Class Top 7 * 8 * Scroll back to the top. Uses a hash as $id which is handled special in getLink(). 9 * Not shown in mobile context 10 */ 11class Top extends AbstractItem { 12 13 protected $svg = DOKU_INC . 'lib/images/menu/10-top_arrow-up.svg'; 14 protected $accesskey = 't'; 15 protected $params = array('do' => ''); 16 protected $id = '#dokuwiki__top'; 17 protected $context = self::CTX_DESKTOP; 18 19} 20