aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Parsing/ParserMode/Base.php
blob: 85049cefdca2ad819ab4c8942081117d327aec13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

namespace dokuwiki\Parsing\ParserMode;

class Base extends AbstractMode
{
    /**
     * Base constructor.
     */
    public function __construct()
    {
        global $PARSER_MODES;

        $this->allowedModes = array_merge(
            $PARSER_MODES['container'],
            $PARSER_MODES['baseonly'],
            $PARSER_MODES['paragraphs'],
            $PARSER_MODES['formatting'],
            $PARSER_MODES['substition'],
            $PARSER_MODES['protected'],
            $PARSER_MODES['disabled']
        );
    }

    /** @inheritdoc */
    public function getSort()
    {
        return 0;
    }
}