Lines Matching defs:renderer
66 * @param Doku_Renderer $renderer the current renderer object
70 public function render($format, Doku_Renderer $renderer, $data)
73 /** @var Doku_Renderer_xhtml $renderer */
77 $renderer->doc .= $this->renderSyntaxModes();
80 $renderer->doc .= $this->renderSyntaxTypes();
83 $this->renderPlugins('syntax', $renderer);
86 $this->renderPlugins('admin', $renderer);
89 $this->renderPlugins('action', $renderer);
92 $this->renderPlugins('renderer', $renderer);
95 $this->renderPlugins('helper', $renderer);
98 $this->renderPlugins('auth', $renderer);
101 $this->renderPlugins('remote', $renderer);
104 $this->renderHelperMethods($renderer);
107 $this->renderHooks($renderer);
110 $renderer->doc .= date('r');
113 $renderer->doc .= "no info about " . htmlspecialchars($data[0]);
123 * uses some of the original renderer methods
126 * @param Doku_Renderer $renderer
128 protected function renderPlugins($type, Doku_Renderer $renderer)
143 $renderer->listu_open();
145 $renderer->listitem_open(1);
146 $renderer->listcontent_open();
147 $renderer->externallink($info['url'], $info['name']);
148 $renderer->cdata(' ');
149 $renderer->emphasis_open();
150 $renderer->cdata($info['date']);
151 $renderer->emphasis_close();
152 $renderer->cdata(' ' . $lang['by'] . ' ');
153 $renderer->emaillink($info['email'], $info['author']);
154 $renderer->linebreak();
155 $renderer->cdata($info['desc']);
156 $renderer->listcontent_close();
157 $renderer->listitem_close();
159 $renderer->listu_close();
165 * uses some of the original renderer methods
167 * @param Doku_Renderer_xhtml $renderer
169 protected function renderHelperMethods(Doku_Renderer_xhtml $renderer)
180 $hid = $this->addToToc($info['name'], 2, $renderer);
188 $hid = $this->addToToc($title, 3, $renderer);
212 $renderer->doc .= $doc;
285 * @param Doku_Renderer $renderer
287 protected function renderHooks(Doku_Renderer $renderer)
294 $renderer->listu_open();
296 $renderer->listitem_open(1);
297 $renderer->listcontent_open();
298 $renderer->cdata($event);
299 $renderer->listcontent_close();
301 $renderer->listo_open();
304 $renderer->listitem_open(2);
305 $renderer->listcontent_open();
306 $renderer->cdata(get_class($handler[0]) . '::' . $handler[1] . '()');
307 $renderer->listcontent_close();
308 $renderer->listitem_close();
311 $renderer->listo_close();
312 $renderer->listitem_close();
314 $renderer->listu_close();
322 * @param Doku_Renderer_xhtml $renderer
325 protected function addToToc($text, $level, Doku_Renderer_xhtml $renderer)
331 $hid = $renderer->_headerToLink($text, true);
332 $renderer->toc[] = [