Lines Matching +full:runs +full:- +full:on
13 * all menus are shown in a Dropdown list on mobile, but are split into several places on
14 * desktop. The item's $context property can be used to hide the item depending on the current
22 /** menu item is to be shown on desktop screens only */
24 /** menu item is to be shown on mobile screens only */
44 protected $svg = DOKU_INC . 'lib/images/menu/00-default_checkbox-blank-circle-outline.svg';
64 $this->id = $ID;
65 $this->type = $this->getType();
66 $this->params['do'] = $this->type;
68 if (!actionOK($this->type)) throw new \RuntimeException("action disabled: {$this->type}");
82 if ($this->label !== '') return $this->label;
86 $label = $lang['btn_' . $this->type];
88 $label = sprintf($label, $this->replacement);
90 if ($label === '') $label = '[' . $this->type . ']';
104 if ($this->title === '') return $this->getLabel();
105 return $this->title;
111 * Basically runs wl() on $id and $params. However if the ID is a hash it is used directly
121 if ($this->id && $this->id[0] == '#') {
122 return $this->id;
124 return wl($this->id, $this->params, false, '&');
137 $attr = ['href' => $this->getLink(), 'title' => $this->getTitle()];
138 if ($this->isNofollow()) $attr['rel'] = 'nofollow';
139 if ($this->getAccesskey()) {
140 $attr['accesskey'] = $this->getAccesskey();
141 $attr['title'] .= ' [' . $this->getAccesskey() . ']';
143 if ($classprefix !== false) $attr['class'] = $classprefix . $this->getType();
159 $attr = buildAttributes($this->getLinkAttributes($classprefix));
162 $html .= '<span>' . hsc($this->getLabel()) . '</span>';
163 $html .= inlineSVG($this->getSvg());
165 $html .= hsc($this->getLabel());
182 $this->getType(),
183 $this->id,
184 $this->getAccesskey(),
185 $this->getParams(),
186 $this->method,
187 $this->getTitle(),
188 $this->getLabel(),
189 $this->getSvg()
201 return (bool)($ctx & $this->context);
209 if ($this->type === '') {
210 $this->type = strtolower(substr(strrchr(get_class($this), '\\'), 1));
212 return $this->type;
220 return $this->accesskey;
228 return $this->params;
236 return $this->nofollow;
244 return $this->svg;
255 'accesskey' => $this->accesskey ?: null,
256 'type' => $this->type,
257 'id' => $this->id,
258 'method' => $this->method,
259 'params' => $this->params,
260 'nofollow' => $this->nofollow,
261 'replacement' => $this->replacement