Overview

Packages

  • Text
    • Textile

Classes

  • Horde_Text_Textile
  • Overview
  • Package
  • Class
  • Tree

Class 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);

Package: Text\Textile
Category: Horde
Located at Horde/Text/Textile.php
Methods summary
public
# transform( mixed $text, mixed $rel = '' )
Constants summary
string REGEX_A_HLGN

A_HLGN

A_HLGN

# '(?:\<(?!>)|(?<!<)\>|\<\>|\=|[()]+(?! ))'
string REGEX_A_VLGN

A_VLGN

A_VLGN

# '[\-^~]'
string REGEX_A

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

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

# '(?:(?:\<(?!>)|(?<!<)\>|\<\>|\=|[()]+(?! ))|[\-^~])*'
string REGEX_S

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

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

# '(?:(?:\\\\\d+)|(?:\/\d+))*'
string REGEX_C

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

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

# '(?:(?:\([^)]+\))|(?:\{[^}]+\})|(?:\[[^]]+\])|(?:\<(?!>)|(?<!<)\>|\<\>|\=|[()]+(?! )))*'
string REGEX_PUNCT

PUNCT

PUNCT

# '\!"#\$%&\'\*\+,-\.\/\:;\=\?@\\\^_`\|~'
string REGEX_URL

LINK_RE

LINK_RE

# '[\w"$\-_.+!*\'(),";\/?:@=&%#{}|\\^~\[\]`]'
string REGEX_BLOCK_TAGS

Block tags

Block tags

# 'bq|bc|notextile|pre|h[1-6]|fn\d+|p'
Properties summary
public static string $GLYPH_QUOTE_SINGLE_OPEN

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

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

# '&#8216;'
public static string $GLYPH_QUOTE_SINGLE_CLOSE
# '&#8217;'
public static string $GLYPH_QUOTE_DOUBLE_OPEN
# '&#8220;'
public static string $GLYPH_QUOTE_DOUBLE_CLOSE
# '&#8221;'
public static string $GLYPH_APOSTROPHE
# '&#8217;'
public static string $GLYPH_PRIME
# '&#8242;'
public static string $GLYPH_PRIME_DOUBLE
# '&#8243;'
public static string $GLYPH_ELLIPSIS
# '&#8230;'
public static string $GLYPH_EMDASH
# '&#8212;'
public static string $GLYPH_ENDASH
# '&#8211;'
public static string $GLYPH_DIMENSION
# '&#215;'
public static string $GLYPH_TRADEMARK
# '&#8482;'
public static string $GLYPH_REGISTERED
# '&#174;'
public static string $GLYPH_COPYRIGHT
# '&#169;'
public static string $GLYPH_RETURN_ARROW
# '&#8617;'
public boolean $images

Show images? On by default.

Show images? On by default.

# true
public string $rel

Rel attribute for links (ex: nofollow).

Rel attribute for links (ex: nofollow).

# ''
API documentation generated by ApiGen