[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Parsing/ParserMode/ -> Base.php (source)

   1  <?php
   2  
   3  namespace dokuwiki\Parsing\ParserMode;
   4  
   5  class 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  }