final class BlockModule extends Module

Special blocks module.

Methods

__construct(Texy $texy)

No description

void
beforeBlockParse(BlockParser $parser, string $text)

Single block pre-processing.

HtmlElement|string|null
pattern(BlockParser $parser, array $matches)

Callback for:.

HtmlElement|string|null
solve(HandlerInvocation $invocation, string $blocktype, string $s, $param, Modifier $mod)

Finish invocation.

Details

at line 22
__construct(Texy $texy)

No description

Parameters

Texy $texy

at line 50
void beforeBlockParse(BlockParser $parser, string $text)

Single block pre-processing.

Parameters

BlockParser $parser
string $text

Return Value

void

at line 68
HtmlElement|string|null pattern(BlockParser $parser, array $matches)

Callback for:.

/-----code html .(title)[class]{style} .... .... ----

Parameters

BlockParser $parser
array $matches

Return Value

HtmlElement|string|null

at line 88
HtmlElement|string|null solve(HandlerInvocation $invocation, string $blocktype, string $s, $param, Modifier $mod)

Finish invocation.

Parameters

HandlerInvocation $invocation
string $blocktype
string $s
$param
Modifier $mod

Return Value

HtmlElement|string|null