Lines Matching defs:renderer
4 * Plugin RefNotes: Reference collector/renderer
139 public function render($mode, Doku_Renderer $renderer, $data) {
146 $result = $this->renderReferences($mode, $renderer, $data);
150 $result = $this->renderMetadata($renderer, $data);
191 public function renderReferences($mode, $renderer, $data) {
194 $this->noteCapture->start($renderer);
198 $this->renderReference($mode, $renderer, $data[1], (count($data) > 2) ? $data[2] : array());
206 * Stops renderer output capture and renders the reference link
208 private function renderReference($mode, $renderer, $attributes, $data) {
216 $renderer->doc .= $reference->render($mode);
222 public function renderMetadata($renderer, $data) {
231 $renderer->meta['plugin']['refnotes']['dbref'][wikiFN($source)] = true;
242 private $renderer;
257 $this->renderer = NULL;
265 $this->renderer->doc = '';
271 public function start($renderer) {
272 $this->renderer = $renderer;
273 $this->doc = $renderer->doc;
282 $text = trim($this->renderer->doc);
293 $text = trim($this->renderer->doc);
295 $this->renderer->doc = $this->doc;