PHP Class Texy\Modules\HtmlModule

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

Public Properties

Property Type Description
$passComment pass HTML comments to output?

Public Methods

Method Description
__construct ( $texy )
patternComment ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE Callback for: .
patternTag ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE Callback for:
solveComment ( HandlerInvocation $invocation, $content ) : string Finish invocation.
solveTag ( HandlerInvocation $invocation, HtmlElement $el, $isStart, $forceEmpty = NULL ) : HtmlElement | string | FALSE Finish invocation.

Method Details

__construct() public method

public __construct ( $texy )

patternComment() public method

Callback for: .
public patternComment ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE
$parser Texy\LineParser
$matches array
return Texy\HtmlElement | string | FALSE

patternTag() public method

..">.
public patternTag ( Texy\LineParser $parser, array $matches ) : HtmlElement | string | FALSE
$parser Texy\LineParser
$matches array
return Texy\HtmlElement | string | FALSE

solveComment() public method

Finish invocation.
public solveComment ( HandlerInvocation $invocation, $content ) : string
$invocation Texy\HandlerInvocation
return string

solveTag() public method

Finish invocation.
public solveTag ( HandlerInvocation $invocation, HtmlElement $el, $isStart, $forceEmpty = NULL ) : HtmlElement | string | FALSE
$invocation Texy\HandlerInvocation
$el Texy\HtmlElement
return Texy\HtmlElement | string | FALSE

Property Details

$passComment public_oe property

pass HTML comments to output?
public $passComment