Home
last modified time | relevance | path

Searched refs:classprefix (Results 1 – 2 of 2) sorted by last modified time

/dokuwiki/inc/Menu/
H A DAbstractMenu.php76 … * @param string|false $classprefix create a class from type with this prefix, false for no class
80 public function getListItems($classprefix = '', $svg = true) { argument
83 if($classprefix !== false) {
84 $class = ' class="' . $classprefix . $item->getType() . '"';
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php128 … * @param string|false $classprefix create a class from type with this prefix, false for no class
131 public function getLinkAttributes($classprefix = 'menuitem ') { argument
141 if($classprefix !== false) $attr['class'] = $classprefix . $this->getType();
151 … * @param string|false $classprefix create a class from type with this prefix, false for no class
155 public function asHtmlLink($classprefix = 'menuitem ', $svg = true) { argument
156 $attr = buildAttributes($this->getLinkAttributes($classprefix));