PHP Class Texy\Modules\PhraseModule

Inheritance: extends Texy\Module
Show file Open project: dg/texy

Public Properties

Property Type Description
$linksAllowed are links allowed?
$tags

Public Methods

Method Description
__construct ( $texy )
patternNoTexy ( Texy\LineParser $parser, array $matches ) : string
patternPhrase ( Texy\LineParser $parser, array $matches, $phrase ) : HtmlElement | string | FALSE Callback for: **.
patternSupSub ( Texy\LineParser $parser, array $matches, $phrase ) : HtmlElement | string | FALSE Callback for: any^2 any_2.
solve ( HandlerInvocation $invocation, $phrase, $content, Modifier $mod, Link $link = NULL ) : HtmlElement Finish invocation.

Method Details

__construct() public method

public __construct ( $texy )

patternNoTexy() public method

public patternNoTexy ( Texy\LineParser $parser, array $matches ) : string
$parser Texy\LineParser
$matches array
return string

patternPhrase() public method

... .(title)[class]{style}**:LINK.
public patternPhrase ( Texy\LineParser $parser, array $matches, $phrase ) : HtmlElement | string | FALSE
$parser Texy\LineParser
$matches array
return Texy\HtmlElement | string | FALSE

patternSupSub() public method

Callback for: any^2 any_2.
public patternSupSub ( Texy\LineParser $parser, array $matches, $phrase ) : HtmlElement | string | FALSE
$parser Texy\LineParser
$matches array
return Texy\HtmlElement | string | FALSE

solve() public method

Finish invocation.
public solve ( HandlerInvocation $invocation, $phrase, $content, Modifier $mod, Link $link = NULL ) : HtmlElement
$invocation Texy\HandlerInvocation
$mod Texy\Modifier
$link Texy\Link
return Texy\HtmlElement

Property Details

$linksAllowed public property

are links allowed?
public $linksAllowed

$tags public property

public $tags