Lines Matching refs:level
22 private $startlevel = 0; // level to start with numbered headings (default = 2)
111 $this->doc = preg_replace('#<(div|section|article) class="[^"]*?level\d[^"]*?">\s*</\1>#','',$this->doc);
122 function header($text, $level, $pos, $returnonly = false) {
148 $this->headingCount[$level]++;
154 if ($i>$level) {
168 parent::header($headingNumber . $text, $level, $pos);
180 $this->doc = $doc . preg_replace("/(<h([1-9]))/", "<".($this->sectionLevel<1?'section':'article')." class=\"level\\2{$class}\">\\1", $this->doc);
192 $name = $this->startSectionEdit($pos, array( 'target' => 'section_empty', 'name' => rand() . $level));
229 function section_open($level) {
231 return parent::section_open($level);