Lines Matching refs:renderer

17     public function __construct($id, $mode, \Doku_Renderer $renderer, SearchConfig $searchConfig)
19 parent::__construct($id, $mode, $renderer, $searchConfig);
29 $this->renderer->cdata($this->helper->getLang('none'));
37 'renderer' => $this->renderer,
59 $this->renderer->table_open();
62 $this->renderer->tablethead_open();
65 $this->renderer->tablethead_close();
69 $this->renderer->tabletbody_open();
71 $this->renderer->tabletbody_close();
74 if (method_exists($this->renderer, 'tabletfoot_open')) $this->renderer->tabletfoot_open();
77 if (method_exists($this->renderer, 'tabletfoot_close')) $this->renderer->tabletfoot_close();
84 $this->renderer->table_close();
88 * Adds additional info to document and renderer in XHTML mode
95 $this->renderer->info['struct_table_hash'] = md5(var_export($this->data, true));
107 // remove identifier from renderer again
108 if (isset($this->renderer->info['struct_table_hash'])) {
109 unset($this->renderer->info['struct_table_hash']);
138 $this->renderer->doc .= '<div class="filter">';
139 $this->renderer->doc .= '<h4>' .
145 $this->renderer->doc .= '<div class="resetfilter">';
146 $this->renderer->internallink($this->id, $this->helper->getLang('tableresetfilter'));
147 $this->renderer->doc .= '</div>';
148 $this->renderer->doc .= '</div>';
156 $this->renderer->tablerow_open();
160 $this->renderer->tableheader_open();
161 $this->renderer->cdata('#');
162 $this->renderer->tableheader_close();
183 $this->renderer->tableheader_open();
184 $this->renderer->cdata($header);
185 $this->renderer->tableheader_close();
225 $this->renderer->doc .= "<th $width $data>";
227 if (is_a($this->renderer, 'renderer_plugin_dw2pdf')) {
228 $this->renderer->doc .= hsc($header);
230 $this->renderer->doc .= '<a href="' . $link . '" class="' . $sortclass . '" ' .
234 $this->renderer->doc .= '</th>';
237 $this->renderer->tablerow_close();
260 if (is_a($this->renderer, 'renderer_plugin_dw2pdf')) {
265 $this->renderer->doc .= '<tr class="dataflt">';
269 $this->renderer->doc .= '<th></th>';
274 $this->renderer->doc .= '<th>';
280 'action' => wl($this->id, $this->renderer->info['struct_table_hash'], false, '#')
307 $this->renderer->doc .= $form->getForm();
310 $this->renderer->doc .= '</th>';
312 $this->renderer->doc .= '</tr>';
324 'renderer' => $this->renderer,
346 $this->renderer->tablerow_open();
353 $this->renderer->doc = substr(rtrim($this->renderer->doc), 0, -1); // remove closing '>'
354 $this->renderer->doc .= ' data-pid="' . hsc($pid) . '" data-rev="' . $rev . '" data-rid="' . $rid . '">';
359 $this->renderer->tablecell_open();
360 $this->renderer->cdata($rownum + $this->searchConfig->getOffset() + 1);
361 $this->renderer->tablecell_close();
367 $this->renderer->tablecell_open(1, $align);
368 $value->render($this->renderer, $this->mode);
369 $this->renderer->tablecell_close();
379 $this->renderer->tablerow_close();
387 $this->renderer->tablerow_open();
388 $this->renderer->tablecell_open(count($this->columns) + $this->data['rownumbers'], 'center');
389 $this->renderer->cdata($this->helper->getLang('none'));
390 $this->renderer->tablecell_close();
391 $this->renderer->tablerow_close();
401 $this->renderer->info['struct_table_meta'] = true;
403 $this->renderer->tablerow_open('summarize');
405 $this->renderer->tablerow_open();
409 $this->renderer->tableheader_open();
410 $this->renderer->tableheader_close();
415 $this->renderer->tableheader_open(1, $this->data['align'][$i]);
417 $this->renderer->cdata('∑ ');
418 $this->columns[$i]->getType()->renderValue($this->sums[$i], $this->renderer, $this->mode);
420 $this->renderer->doc .= '&nbsp;';
422 $this->renderer->tableheader_close();
424 $this->renderer->tablerow_close();
425 $this->renderer->info['struct_table_meta'] = false;
439 $this->renderer->info['struct_table_meta'] = true;
440 $this->renderer->tablerow_open();
441 $this->renderer->tableheader_open((count($this->columns) + ($this->data['rownumbers'] ? 1 : 0)));
454 $this->renderer->doc .= '<a href="' . $link . '" class="prev">' . $this->helper->getLang('prev') . '</a>';
463 $this->renderer->doc .= '<a href="' . $link . '" class="next">' . $this->helper->getLang('next') . '</a>';
466 $this->renderer->tableheader_close();
467 $this->renderer->tablerow_close();
468 $this->renderer->info['struct_table_meta'] = true;
482 $params['hash'] = $this->renderer->info['struct_table_hash'];
487 $this->renderer->doc .= '<a href="' . $link . '" class="export mediafile mf_csv">' .