Lines Matching defs:mode

36     function connectTo($mode) {
38 $this->Lexer->addSpecialPattern('<data(?: +[^#>]+?)?(?: *#[^>]*?)?>\s*?\n(?:.*?\n)*?\s*?</data>',$mode, 'plugin_strata_entry');
246 function render($mode, Doku_Renderer $R, $data) {
253 if($mode == 'xhtml' || $mode == 'odt') {
277 if($mode == 'xhtml') { $R->doc .= '<div class="strata-entry" id="'.Clean::deaccent(strtolower($heading)).'">'; }
278 if($mode == 'odt' && isset($currentPosition) && method_exists ($R, 'insertBookmark')) {
292 $this->util->openField($mode, $R, $this->util->getIsaKey());
297 $this->util->renderValue($mode, $R, $this->triples, $triple['value'], $triple['type'], $type, $triple['hint']);
299 $this->util->closeField($mode, $R);
314 $this->util->renderPredicate($mode, $R, $this->triples, $key);
319 $this->util->openField($mode, $R, $key);
323 $this->util->renderValue($mode, $R, $this->triples, $triple['value'], $triple['type'], $triple['hint']);
325 $this->util->closeField($mode, $R);
334 if($mode == 'xhtml') { $R->doc .= '<span class="strata-data-fragment-link-previous">'; }
336 if($mode == 'xhtml') { $R->doc .= '</span>'; }
340 if($mode == 'xhtml') { $R->doc .= '<span class="strata-data-fragment-link-next">'; }
342 if($mode == 'xhtml') { $R->doc .= '</span>'; }
349 if($mode == 'xhtml') { $R->doc .= '</div>'; }
353 } elseif($mode == 'metadata' || $mode == 'preview_metadata') {
387 if($mode == 'preview_metadata') {
395 $this->util->renderPredicate($mode, $R, $this->triples, $property);
400 $type->render($mode, $R, $this->triples, $triple['value'], $triple['hint']);