PHP Class Horde_Text_Textile, horde

Example: get XHTML from a given Textile-markup string ($string) $textile = new Horde_Text_Textile; echo $textile->toHtml($string);
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$GLYPH_APOSTROPHE
$GLYPH_COPYRIGHT
$GLYPH_DIMENSION
$GLYPH_ELLIPSIS
$GLYPH_EMDASH
$GLYPH_ENDASH
$GLYPH_PRIME
$GLYPH_PRIME_DOUBLE
$GLYPH_QUOTE_DOUBLE_CLOSE
$GLYPH_QUOTE_DOUBLE_OPEN
$GLYPH_QUOTE_SINGLE_CLOSE
$GLYPH_QUOTE_SINGLE_OPEN Glyphs. Can be overridden if you want to substitute different entities.
$GLYPH_REGISTERED
$GLYPH_RETURN_ARROW
$GLYPH_TRADEMARK
$images boolean Show images? On by default.
$rel string Rel attribute for links (ex: nofollow).

Protected Properties

Property Type Description
$_shelf array Shelf of values being processed.

Public Methods

Method Description
block ( $text )
checkRefs ( $text )
cleanWhiteSpace ( $text )
code ( $text )
doBr ( $m )
doPBr ( $in )
doSpecial ( $text, $start, $end, $method = 'fSpecial' )
encodeHtml ( $str, $quotes = true )
fBlock ( $m )
fCode ( $m )
fImage ( $m )
fLink ( $m )
fList ( $m )
fPre ( $m )
fSpan ( $m )
fSpecial ( $m )
fTable ( $matches )
fTextile ( $m )
footnoteRef ( $text )
getRefs ( $text )
glyphs ( $text )
hAlign ( $in )
hasRawText ( $text )
iAlign ( $in )
image ( $text )
lT ( $in )
links ( $text )
lists ( $text )
noTextile ( $text )
paragraph ( $text ) Handle normal paragraph text.
parseBlockAttributes ( $in, $element = '' ) parse block attributes
refs ( $m )
retrieve ( $text )
shelve ( $val )
span ( $text )
table ( $text )
transform ( $text, $rel = '' )
vAlign ( $in )

Method Details

block() public method

public block ( $text )

checkRefs() public method

public checkRefs ( $text )

cleanWhiteSpace() public method

public cleanWhiteSpace ( $text )

code() public method

public code ( $text )

doBr() public method

public doBr ( $m )

doPBr() public method

public doPBr ( $in )

doSpecial() public method

public doSpecial ( $text, $start, $end, $method = 'fSpecial' )

encodeHtml() public method

public encodeHtml ( $str, $quotes = true )

fBlock() public method

public fBlock ( $m )

fCode() public method

public fCode ( $m )

fImage() public method

public fImage ( $m )

fList() public method

public fList ( $m )

fPre() public method

public fPre ( $m )

fSpan() public method

public fSpan ( $m )

fSpecial() public method

public fSpecial ( $m )

fTable() public method

public fTable ( $matches )

fTextile() public method

public fTextile ( $m )

footnoteRef() public method

public footnoteRef ( $text )

getRefs() public method

public getRefs ( $text )

glyphs() public method

public glyphs ( $text )

hAlign() public method

public hAlign ( $in )

hasRawText() public method

public hasRawText ( $text )

iAlign() public method

public iAlign ( $in )

image() public method

public image ( $text )

lT() public method

public lT ( $in )

lists() public method

public lists ( $text )

noTextile() public method

public noTextile ( $text )

paragraph() public method

Handle normal paragraph text.
public paragraph ( $text )

parseBlockAttributes() public method

parse block attributes
public parseBlockAttributes ( $in, $element = '' )

refs() public method

public refs ( $m )

retrieve() public method

public retrieve ( $text )

shelve() public method

public shelve ( $val )

span() public method

public span ( $text )

table() public method

public table ( $text )

transform() public method

public transform ( $text, $rel = '' )

vAlign() public method

public vAlign ( $in )

Property Details

$GLYPH_APOSTROPHE public_oe static_oe property

public static $GLYPH_APOSTROPHE

$GLYPH_DIMENSION public_oe static_oe property

public static $GLYPH_DIMENSION

$GLYPH_ELLIPSIS public_oe static_oe property

public static $GLYPH_ELLIPSIS

$GLYPH_EMDASH public_oe static_oe property

public static $GLYPH_EMDASH

$GLYPH_ENDASH public_oe static_oe property

public static $GLYPH_ENDASH

$GLYPH_PRIME public_oe static_oe property

public static $GLYPH_PRIME

$GLYPH_PRIME_DOUBLE public_oe static_oe property

public static $GLYPH_PRIME_DOUBLE

$GLYPH_QUOTE_DOUBLE_CLOSE public_oe static_oe property

public static $GLYPH_QUOTE_DOUBLE_CLOSE

$GLYPH_QUOTE_DOUBLE_OPEN public_oe static_oe property

public static $GLYPH_QUOTE_DOUBLE_OPEN

$GLYPH_QUOTE_SINGLE_CLOSE public_oe static_oe property

public static $GLYPH_QUOTE_SINGLE_CLOSE

$GLYPH_QUOTE_SINGLE_OPEN public_oe static_oe property

Glyphs. Can be overridden if you want to substitute different entities.
public static $GLYPH_QUOTE_SINGLE_OPEN

$GLYPH_REGISTERED public_oe static_oe property

public static $GLYPH_REGISTERED

$GLYPH_RETURN_ARROW public_oe static_oe property

public static $GLYPH_RETURN_ARROW

$GLYPH_TRADEMARK public_oe static_oe property

public static $GLYPH_TRADEMARK

$_shelf protected_oe property

Shelf of values being processed.
protected array $_shelf
return array

$images public_oe property

Show images? On by default.
public bool $images
return boolean

$rel public_oe property

Rel attribute for links (ex: nofollow).
public string $rel
return string