\Horde_Text_Textile

References: http://www.textism.com/tools/textile/ http://en.wikipedia.org/wiki/Textile_(markup_language) http://hobix.com/textile/ http://whytheluckystiff.net/ruby/redcloth/ http://redcloth.rubyforge.org/rdoc/ http://code.whytheluckystiff.net/redcloth/browser/trunk/test/textism.yml

Example: get XHTML from a given Textile-markup string ($string) $textile = new Horde_Text_Textile; echo $textile->toHtml($string);

Summary

Methods
Properties
Constants
transform()
$GLYPH_QUOTE_SINGLE_OPEN
$GLYPH_QUOTE_SINGLE_CLOSE
$GLYPH_QUOTE_DOUBLE_OPEN
$GLYPH_QUOTE_DOUBLE_CLOSE
$GLYPH_APOSTROPHE
$GLYPH_PRIME
$GLYPH_PRIME_DOUBLE
$GLYPH_ELLIPSIS
$GLYPH_EMDASH
$GLYPH_ENDASH
$GLYPH_DIMENSION
$GLYPH_TRADEMARK
$GLYPH_REGISTERED
$GLYPH_COPYRIGHT
$GLYPH_RETURN_ARROW
$images
$rel
REGEX_A_HLGN
REGEX_A_VLGN
REGEX_A
REGEX_S
REGEX_C
REGEX_PUNCT
REGEX_URL
REGEX_BLOCK_TAGS
No protected methods found
$_shelf
N/A
No private methods found
No private properties found
N/A

Constants

REGEX_A_HLGN

REGEX_A_HLGN

A_HLGN

REGEX_A_VLGN

REGEX_A_VLGN

A_VLGN

REGEX_A

REGEX_A

'(?:' . A_HLGN . '|' . A_VLGN . ')*'

REGEX_S

REGEX_S

'(?:' . S_CSPN . '|' . S_RSPN . ')*'

REGEX_C

REGEX_C

'(?:' . C_CLAS . '|' . C_STYL . '|' . C_LNGE . '|' . A_HLGN . ')*'

REGEX_PUNCT

REGEX_PUNCT

PUNCT

REGEX_URL

REGEX_URL

LINK_RE

REGEX_BLOCK_TAGS

REGEX_BLOCK_TAGS

Block tags

Properties

$GLYPH_QUOTE_SINGLE_OPEN

$GLYPH_QUOTE_SINGLE_OPEN : 

Glyphs. Can be overridden if you want to substitute different entities.

Type

$GLYPH_QUOTE_SINGLE_CLOSE

$GLYPH_QUOTE_SINGLE_CLOSE : 

Type

$GLYPH_QUOTE_DOUBLE_OPEN

$GLYPH_QUOTE_DOUBLE_OPEN : 

Type

$GLYPH_QUOTE_DOUBLE_CLOSE

$GLYPH_QUOTE_DOUBLE_CLOSE : 

Type

$GLYPH_APOSTROPHE

$GLYPH_APOSTROPHE : 

Type

$GLYPH_PRIME

$GLYPH_PRIME : 

Type

$GLYPH_PRIME_DOUBLE

$GLYPH_PRIME_DOUBLE : 

Type

$GLYPH_ELLIPSIS

$GLYPH_ELLIPSIS : 

Type

$GLYPH_EMDASH

$GLYPH_EMDASH : 

Type

$GLYPH_ENDASH

$GLYPH_ENDASH : 

Type

$GLYPH_DIMENSION

$GLYPH_DIMENSION : 

Type

$GLYPH_TRADEMARK

$GLYPH_TRADEMARK : 

Type

$GLYPH_REGISTERED

$GLYPH_REGISTERED : 

Type

$GLYPH_COPYRIGHT

$GLYPH_COPYRIGHT : 

Type

$GLYPH_RETURN_ARROW

$GLYPH_RETURN_ARROW : 

Type

$images

$images : boolean

Show images? On by default.

Type

boolean

$rel

$rel : string

Rel attribute for links (ex: nofollow).

Type

string

$_shelf

$_shelf : array

Shelf of values being processed.

Type

array

Methods

transform()

transform(  $text,   $rel = '') 

Parameters

$text
$rel