Lines Matching refs:level
201 * @param int $level the nesting level
203 public function toc_additem($id, $text, $level) argument
208 if ($level >= $conf['toptoclevel'] && $level <= $conf['maxtoclevel']) {
209 $this->toc[] = html_mktocitem($id, $text, $level - $conf['toptoclevel'] + 1);
217 * @param int $level header level
222 public function header($text, $level, $pos, $returnonly = false) argument
231 $this->toc_additem($hid, $text, $level);
234 $this->node[$level - 1]++;
235 if ($level < $this->lastlevel) {
236 for ($i = 0; $i < $this->lastlevel - $level; $i++) {
240 $this->lastlevel = $level;
243 $level <= $conf['maxseclevel'] &&
251 $header = DOKU_LF . '<h' . $level;
252 if ($level <= $conf['maxseclevel']) {
262 $header .= "</h$level>" . DOKU_LF;
274 * @param int $level section level (as determined by the previous header)
276 public function section_open($level) argument
278 $this->doc .= '<div class="level' . $level . '">' . DOKU_LF;
564 * @param int $level the nesting level
567 public function listitem_open($level, $node = false) argument
570 $this->doc .= '<li class="level' . $level . $branching . '">';