1<?php
2
3namespace dokuwiki\Parsing\ParserMode;
4
5class Base extends AbstractMode
6{
7
8    /**
9     * Base constructor.
10     */
11    public function __construct()
12    {
13        global $PARSER_MODES;
14
15        $this->allowedModes = array_merge(
16            $PARSER_MODES['container'],
17            $PARSER_MODES['baseonly'],
18            $PARSER_MODES['paragraphs'],
19            $PARSER_MODES['formatting'],
20            $PARSER_MODES['substition'],
21            $PARSER_MODES['protected'],
22            $PARSER_MODES['disabled']
23        );
24    }
25
26    /** @inheritdoc */
27    public function getSort()
28    {
29        return 0;
30    }
31}
32