aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Parsing/ParserMode/Base.php
blob: 562275600703a8effb26558e7ca8818c08541df4 (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
31
<?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;
    }
}