1<?php 2 3namespace dokuwiki\Menu; 4 5/** 6 * Class KiwikiEdit 7 * 8 * Edit icon button 9 */ 10class KiwikiEdit extends AbstractMenu { 11 12 public $types = array( 13 'EditIcon' 14 ); 15 16 /** 17 * Generate HTML list items for this menu 18 */ 19 public function getListItems($classprefix = 'edit-this', $svg = true) 20 { 21 $html = ''; 22 foreach ($this->getItems() as $item) { 23 $html .= $item->asHtmlLink($classprefix , $svg); 24 } 25 return $html; 26 } 27} 28