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);
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство 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

Свойство Type Description
$_shelf array Shelf of values being processed.

Méthodes publiques

Méthode 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 méthode

public block ( $text )

checkRefs() public méthode

public checkRefs ( $text )

cleanWhiteSpace() public méthode

public cleanWhiteSpace ( $text )

code() public méthode

public code ( $text )

doBr() public méthode

public doBr ( $m )

doPBr() public méthode

public doPBr ( $in )

doSpecial() public méthode

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

encodeHtml() public méthode

public encodeHtml ( $str, $quotes = true )

fBlock() public méthode

public fBlock ( $m )

fCode() public méthode

public fCode ( $m )

fImage() public méthode

public fImage ( $m )

fList() public méthode

public fList ( $m )

fPre() public méthode

public fPre ( $m )

fSpan() public méthode

public fSpan ( $m )

fSpecial() public méthode

public fSpecial ( $m )

fTable() public méthode

public fTable ( $matches )

fTextile() public méthode

public fTextile ( $m )

footnoteRef() public méthode

public footnoteRef ( $text )

getRefs() public méthode

public getRefs ( $text )

glyphs() public méthode

public glyphs ( $text )

hAlign() public méthode

public hAlign ( $in )

hasRawText() public méthode

public hasRawText ( $text )

iAlign() public méthode

public iAlign ( $in )

image() public méthode

public image ( $text )

lT() public méthode

public lT ( $in )

lists() public méthode

public lists ( $text )

noTextile() public méthode

public noTextile ( $text )

paragraph() public méthode

Handle normal paragraph text.
public paragraph ( $text )

parseBlockAttributes() public méthode

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

refs() public méthode

public refs ( $m )

retrieve() public méthode

public retrieve ( $text )

shelve() public méthode

public shelve ( $val )

span() public méthode

public span ( $text )

table() public méthode

public table ( $text )

transform() public méthode

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

vAlign() public méthode

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
Résultat array

$images public_oe property

Show images? On by default.
public bool $images
Résultat boolean

$rel public_oe property

Rel attribute for links (ex: nofollow).
public string $rel
Résultat string