Lines Matching refs:R
27 function render($mode, Doku_Renderer $R, $data) {
30 $R->table_open();
31 $R->tablerow_open();
32 $R->tablecell_open();
33 $this->displayError($mode, $R, $data);
34 $R->tablecell_close();
35 $R->tablerow_close();
36 $R->table_close();
61 $this->ui_container_open($mode, $R, $data, array('strata-container', 'strata-container-table'));
62 $R->table_open();
63 if($mode == 'xhtml') { $R->doc .= '<thead>'.DOKU_LF; }
64 $R->tablerow_open();
68 $R->tableheader_open();
69 if($mode == 'xhtml') { $R->doc .= '<span class="strata-caption" data-field="'.hsc($f['variable']).'">'; }
70 $R->cdata($f['caption']);
71 if($mode == 'xhtml') { $R->doc .= '</span>'.DOKU_LF; }
72 $R->tableheader_close();
74 $R->tablerow_close();
75 if($mode == 'xhtml') { $R->doc .= '</thead>'.DOKU_LF; }
81 if($mode == 'xhtml') { $R->doc .= '<tbody class="strata-item" data-strata-order="'.($itemcount++).'">'.DOKU_LF; }
82 $R->tablerow_open();
84 $R->tablecell_open();
85 $this->util->renderField($mode, $R, $this->triples, $f['aggregate']->aggregate($row[$f['variable']],$f['aggregateHint']), $f['typeName'], $f['hint'], $f['type'], $f['variable']);
86 $R->tablecell_close();
88 $R->tablerow_close();
89 if($mode == 'xhtml') { $R->doc .= '</tbody>'.DOKU_LF; }
93 $R->tablerow_open();
94 $R->tablecell_open(count($fields));
95 $R->emphasis_open();
96 $R->cdata(sprintf($this->helper->getLang('content_error_explanation'),'Strata table'));
97 $R->emphasis_close();
98 $R->tablecell_close();
99 $R->tablerow_close();
102 $R->table_close();
103 $this->ui_container_close($mode, $R);
112 $this->util->renderField($mode, $R, $this->triples, $f['aggregate']->aggregate($row[$f['variable']],$f['aggregateHint']), $f['typeName'], $f['hint'], $f['type'], $f['variable']);