dockerwiki/content/inc/Parsing/ParserMode/Base.php
2021-10-26 13:02:53 +02:00

32 lines
620 B
PHP

<?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;
}
}