Class TexyListModule


Ordered / unordered nested list module.

TexyObject
   |
   --TexyModule
      |
      --TexyListModule
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /modules/TexyListModule.php (line 20)
Constructor Summary
public
__construct ($texy)
Method Summary
void
TexyHtml
patternDefList (TexyBlockParser $parser, array $matches, string 2)
Callback for:.
TexyHtml|FALSE
patternItem (TexyBlockParser $parser, string $bullet, string $indented, string $tag)
Callback for single list item.
TexyHtml|FALSE
patternList (TexyBlockParser $parser, array $matches, string 2)
Callback for:.
Methods Inherited From TexyObject
TexyObject::extensionMethod(), TexyObject::getClass(), TexyObject::getReflection(), TexyObject::__call(), TexyObject::__callStatic(), TexyObject::__get(), TexyObject::__isset(), TexyObject::__set(), TexyObject::__unset()
Variable Summary
mixed $bullets array( // first-rexexp ordered? list-style-type next-regexp '*'...

line 22


Constructor Details

line 37

__construct

public __construct ($texy)

Input
$texy
Method Details

line 48

beforeParse

public void beforeParse ()

Output
void  

line 148

patternDefList

public TexyHtml patternDefList (TexyBlockParser $parser, array $matches, string 2)

Callback for:.

Term: .(title)[class]{style}>

  • description 1
  • description 2
  • description 3

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

line 213

patternItem

public TexyHtml|FALSE patternItem (TexyBlockParser $parser, string $bullet, string $indented, string $tag)

Callback for single list item.

Input
TexyBlockParser $parser
string $bullet bullet type
string $indented left space
string $tag html tag
Output
TexyHtml|FALSE  

line 88

patternList

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

Callback for:.

1) .... .(title)[class]{style}> 2) ....

  • ...
  • ...
3) ....

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