Class TexyHtmlModule


Html tags module.

TexyObject
   |
   --TexyModule
      |
      --TexyHtmlModule
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /modules/TexyHtmlModule.php (line 20)
Constructor Summary
public
__construct ($texy)
Method Summary
TexyHtml|string|FALSE
patternComment (TexyLineParser $parser, array $matches, string 2)
Callback for: <!-- comment -->.
TexyHtml|string|FALSE
patternTag (TexyLineParser $parser, array $matches, string 2)
Callback for: <tag attr="...">.
string
solveComment (TexyHandlerInvocation $invocation, string $content)
Finish invocation.
TexyHtml|string|FALSE
solveTag (TexyHandlerInvocation $invocation, TexyHtml $el, bool $isStart, [bool $forceEmpty = NULL])
Finish invocation.
Methods Inherited From TexyObject
TexyObject::extensionMethod(), TexyObject::getClass(), TexyObject::getReflection(), TexyObject::__call(), TexyObject::__callStatic(), TexyObject::__get(), TexyObject::__isset(), TexyObject::__set(), TexyObject::__unset()
Variable Summary
bool $passComment TRUE

line 23

pass HTML comments to output?

Constructor Details

line 27

__construct

public __construct ($texy)

Input
$texy
Method Details

line 57

patternComment

public TexyHtml|string|FALSE patternComment (TexyLineParser $parser, array $matches, string 2)

Callback for: <!-- comment -->.

Input
TexyLineParser $parser
array $matches regexp matches
string 2 pattern name
Output
TexyHtml|string|FALSE  

line 73

patternTag

public TexyHtml|string|FALSE patternTag (TexyLineParser $parser, array $matches, string 2)

Callback for: <tag attr="...">.

Input
TexyLineParser $parser
array $matches regexp matches
string 2 pattern name
Output
TexyHtml|string|FALSE  

line 270

solveComment

public string solveComment (TexyHandlerInvocation $invocation, string $content)

Finish invocation.

Input
TexyHandlerInvocation $invocation handler invocation
string $content
Output
string  

line 142

solveTag

public TexyHtml|string|FALSE solveTag (TexyHandlerInvocation $invocation, TexyHtml $el, bool $isStart, [bool $forceEmpty = NULL])

Finish invocation.

Input
TexyHandlerInvocation $invocation handler invocation
TexyHtml $el element
bool $isStart is start tag?
bool $forceEmpty is empty?
Output
TexyHtml|string|FALSE