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