Class TexyBlockModule


Special blocks module.

TexyObject
   |
   --TexyModule
      |
      --TexyBlockModule
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /modules/TexyBlockModule.php (line 20)
Constructor Summary
public
__construct ($texy)
Method Summary
void
beforeBlockParse (TexyBlockParser $parser, string &$text)
Single block pre-processing.
void
outdent ($s)
TexyHtml|string|FALSE
pattern (TexyBlockParser $parser, array $matches, string 2)
Callback for:.
TexyHtml|string|FALSE
solve (TexyHandlerInvocation $invocation, string $blocktype, string $s, string $param, TexyModifier $mod)
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

Constructor Details

line 23

__construct

public __construct ($texy)

Input
$texy
Method Details

line 55

beforeBlockParse

public void beforeBlockParse (TexyBlockParser $parser, string &$text)

Single block pre-processing.

Input
TexyBlockParser $parser
string &$text
Output
void  

line 98

outdent

public void outdent ($s)

Input
$s

line 79

pattern

public TexyHtml|string|FALSE pattern (TexyBlockParser $parser, array $matches, string 2)

Callback for:.

/-----code html .(title)[class]{style} .... .... \----

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

line 116

solve

public TexyHtml|string|FALSE solve (TexyHandlerInvocation $invocation, string $blocktype, string $s, string $param, TexyModifier $mod)

Finish invocation.

Input
TexyHandlerInvocation $invocation handler invocation
string $blocktype blocktype
string $s content
string $param additional parameter
TexyModifier $mod
Output
TexyHtml|string|FALSE