PHP Class Texy\Modules\BlockModule

Inheritance: extends Texy\Module
Afficher le fichier Open project: dg/texy

Méthodes publiques

Méthode 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 méthode

public __construct ( $texy )

beforeBlockParse() public méthode

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

pattern() public méthode

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

solve() public méthode

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