dokuwiki-plugin-childrenpages/MenuItem.php

19 lines
428 B
PHP
Raw Normal View History

<?php
namespace dokuwiki\plugin\childrenpages;
use dokuwiki\Menu\Item\AbstractItem;
class MenuItem extends AbstractItem {
/**
* Generate a menu item from a passed string
*
* @param string $type
*/
public function __construct(string $type) {
$this->type = $type;
parent::__construct();
trigger_error("generating a menu item for type \"$this->type\" not implemented in ".get_class($this), E_USER_WARNING);
}
}