Lines Matching refs:mode
15 function connectTo($mode) {
16 $this->Lexer->addSpecialPattern('<table'.$this->helper->fieldsShortPattern().'* *>\s*?\n.+?\n\s*?</table>',$mode, 'plugin_strata_table');
27 function render($mode, Doku_Renderer $R, $data) {
29 if($mode == 'xhtml' || $mode == 'odt') {
33 $this->displayError($mode, $R, $data);
59 if($mode == 'xhtml' || $mode == 'odt') {
61 $this->ui_container_open($mode, $R, $data, array('strata-container', 'strata-container-table'));
63 if($mode == 'xhtml') { $R->doc .= '<thead>'.DOKU_LF; }
69 if($mode == 'xhtml') { $R->doc .= '<span class="strata-caption" data-field="'.hsc($f['variable']).'">'; }
71 if($mode == 'xhtml') { $R->doc .= '</span>'.DOKU_LF; }
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; }
85 $this->util->renderField($mode, $R, $this->triples, $f['aggregate']->aggregate($row[$f['variable']],$f['aggregateHint']), $f['typeName'], $f['hint'], $f['type'], $f['variable']);
89 if($mode == 'xhtml') { $R->doc .= '</tbody>'.DOKU_LF; }
103 $this->ui_container_close($mode, $R);
106 } elseif($mode == 'metadata') {
109 // render all rows in metadata mode to enable things like backlinks
112 $this->util->renderField($mode, $R, $this->triples, $f['aggregate']->aggregate($row[$f['variable']],$f['aggregateHint']), $f['typeName'], $f['hint'], $f['type'], $f['variable']);