Lines Matching defs:attr
219 protected function _writeCall($tag, $attr, $state, $pos, $match, $handler)
222 array($state, $tag, $attr), $state, $pos, $match
235 $attr = isset($m['num']) ? 'start="'.$m['num'].'"' : '';
238 $attr = null;
249 $attr.= !empty($attr) ? ' ' : '';
250 $attr.= ' class="'.$class.'"';
251 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
278 $attr = ' value="'.$m['num'].'"';
279 $attr.= ' data-marker="'.$this->olist_marker($lv).'"';
282 $attr = 'class="'.$m['class'].'"';
285 $attr = '';
287 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
307 $tag = 'span'; $attr = '';
315 $tag = 'div'; $attr = 'class="li"';
318 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
537 list($state, $tag, $attr) = $data;
540 $renderer->doc.= $this->_open($tag, $attr);
556 protected function _open($tag, $attr = null)
558 if (!empty($attr)) $attr = ' '.$attr;
560 return $before.'<'.$tag.$attr.'>'.$after;