PHP Class Texy\Modules\ScriptModule

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

Méthodes publiques

Свойство Type Description
$handler script elements handler function myFunc($parser, $cmd, $args, $raw)
$separator arguments separator

Méthodes publiques

Méthode Description
__construct ( $texy )
pattern ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE Callback for: {{.
solve ( HandlerInvocation $invocation, $cmd, array $args = NULL, $raw ) : HtmlElement | string | FALSE Finish invocation.

Method Details

__construct() public méthode

public __construct ( $texy )

pattern() public méthode

..}}.
public pattern ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE
$parser Texy\LineParser
$matches array
Résultat Texy\HtmlElement | string | FALSE

solve() public méthode

Finish invocation.
public solve ( HandlerInvocation $invocation, $cmd, array $args = NULL, $raw ) : HtmlElement | string | FALSE
$invocation Texy\HandlerInvocation
$args array
Résultat Texy\HtmlElement | string | FALSE

Property Details

$handler public_oe property

script elements handler function myFunc($parser, $cmd, $args, $raw)
public $handler

$separator public_oe property

arguments separator
public $separator