PHP Class Texy\Modules\ScriptModule

Inheritance: extends Texy\Module
ファイルを表示 Open project: dg/texy

Public Properties

Property Type Description
$handler script elements handler function myFunc($parser, $cmd, $args, $raw)
$separator arguments separator

Public Methods

Method 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 method

public __construct ( $texy )

pattern() public method

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

solve() public method

Finish invocation.
public solve ( HandlerInvocation $invocation, $cmd, array $args = NULL, $raw ) : HtmlElement | string | FALSE
$invocation Texy\HandlerInvocation
$args array
return 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