Base.php 620 B

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