%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/recepty.varak.net/inc/Parsing/ParserMode/
Upload File :
Create Path :
Current File : /www/varak.net/recepty.varak.net/inc/Parsing/ParserMode/Header.php

<?php

namespace dokuwiki\Parsing\ParserMode;

class Header extends AbstractMode
{

    /** @inheritdoc */
    public function connectTo($mode)
    {
        //we're not picky about the closing ones, two are enough
        $this->Lexer->addSpecialPattern(
            '[ \t]*={2,}[^\n]+={2,}[ \t]*(?=\n)',
            $mode,
            'header'
        );
    }

    /** @inheritdoc */
    public function getSort()
    {
        return 50;
    }
}

Zerion Mini Shell 1.0