Media.php 366 B

123456789101112131415161718192021
  1. <?php
  2. namespace dokuwiki\Menu\Item;
  3. /**
  4. * Class Media
  5. *
  6. * Opens the media manager
  7. */
  8. class Media extends AbstractItem {
  9. /** @inheritdoc */
  10. public function __construct() {
  11. global $ID;
  12. parent::__construct();
  13. $this->svg = DOKU_INC . 'lib/images/menu/folder-multiple-image.svg';
  14. $this->params['ns'] = getNS($ID);
  15. }
  16. }