PHP Class Texy\Modules\BlockModule

Inheritance: extends Texy\Module
Mostrar archivo Open project: dg/texy

Public Methods

Method Description
__construct ( $texy )
beforeBlockParse ( BlockParser $parser, &$text ) : void Single block pre-processing.
pattern ( BlockParser $parser, array $matches ) : HtmlElement | string | FALSE Callback for:.
solve ( HandlerInvocation $invocation, $blocktype, $s, $param, Modifier $mod ) : HtmlElement | string | FALSE Finish invocation.

Method Details

__construct() public method

public __construct ( $texy )

beforeBlockParse() public method

Single block pre-processing.
public beforeBlockParse ( BlockParser $parser, &$text ) : void
$parser Texy\BlockParser
return void

pattern() public method

-----code html .(title)[class]{style} .... .... \----
public pattern ( BlockParser $parser, array $matches ) : HtmlElement | string | FALSE
$parser Texy\BlockParser
$matches array
return Texy\HtmlElement | string | FALSE

solve() public method

Finish invocation.
public solve ( HandlerInvocation $invocation, $blocktype, $s, $param, Modifier $mod ) : HtmlElement | string | FALSE
$invocation Texy\HandlerInvocation
$mod Texy\Modifier
return Texy\HtmlElement | string | FALSE