dockerwiki/content/inc/Parsing/ParserMode/Nocache.php

20 lines
318 B
PHP
Raw Permalink Normal View History

2021-10-26 13:02:53 +02:00
<?php
namespace dokuwiki\Parsing\ParserMode;
class Nocache extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
{
$this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
}
/** @inheritdoc */
public function getSort()
{
return 40;
}
}