Nocache.php 318 B

12345678910111213141516171819
  1. <?php
  2. namespace dokuwiki\Parsing\ParserMode;
  3. class Nocache extends AbstractMode
  4. {
  5. /** @inheritdoc */
  6. public function connectTo($mode)
  7. {
  8. $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
  9. }
  10. /** @inheritdoc */
  11. public function getSort()
  12. {
  13. return 40;
  14. }
  15. }