1 | <?php |
||
17 | class Doku_Renderer_xhtmlsummary extends Doku_Renderer_xhtml { |
||
18 | |||
19 | // Namespace these variables to |
||
20 | // avoid clashes with parent classes |
||
21 | protected $sum_paragraphs = 0; |
||
22 | protected $sum_capture = true; |
||
23 | protected $sum_inSection = false; |
||
24 | protected $sum_summary = ''; |
||
25 | protected $sum_pageTitle = false; |
||
26 | |||
27 | /** @inheritdoc */ |
||
28 | public function document_start() { |
||
29 | $this->doc .= DOKU_LF.'<div>'.DOKU_LF; |
||
30 | } |
||
31 | |||
32 | /** @inheritdoc */ |
||
33 | public function document_end() { |
||
37 | |||
38 | /** @inheritdoc */ |
||
39 | public function header($text, $level, $pos) { |
||
48 | |||
49 | /** @inheritdoc */ |
||
50 | public function section_open($level) { |
||
55 | |||
56 | /** @inheritdoc */ |
||
57 | public function section_close() { |
||
63 | |||
64 | /** @inheritdoc */ |
||
65 | public function p_open() { |
||
71 | |||
72 | /** @inheritdoc */ |
||
73 | public function p_close() { |
||
80 | |||
81 | } |
||
82 | |||
85 |