PHP Class parsedown

Afficher le fichier Open project: anchorcms/anchor-cms Class Usage Examples

Protected Properties

Свойство Type Description
$BlockTypes #
$DefinitionData #
$DefinitionTypes # ~
$EmRegex
$InlineTypes #
$StrongRegex
$breaksEnabled
$inlineMarkerList # ~
$markupEscaped
$regexHtmlAttribute
$specialCharacters # Read-Only
$textLevelElements
$unmarkedBlockTypes # ~
$urlsLinked
$voidElements

Méthodes publiques

Méthode Description
instance ( $name = 'default' ) #
line ( $text ) #
parse ( $text ) #
setBreaksEnabled ( $breaksEnabled ) #
setMarkupEscaped ( $markupEscaped )
setUrlsLinked ( $urlsLinked )
text ( $text ) # ~

Méthodes protégées

Méthode Description
blockCode ( $Line, $Block = null ) # Code
blockCodeComplete ( $Block )
blockCodeContinue ( $Line, $Block )
blockComment ( $Line ) # Comment
blockCommentContinue ( $Line, array $Block )
blockFencedCode ( $Line ) # Fenced Code
blockFencedCodeComplete ( $Block )
blockFencedCodeContinue ( $Line, $Block )
blockHeader ( $Line ) # Header
blockList ( $Line ) # List
blockListContinue ( $Line, array $Block )
blockMarkup ( $Line ) # Markup
blockMarkupContinue ( $Line, array $Block )
blockQuote ( $Line ) # Quote
blockQuoteContinue ( $Line, array $Block )
blockReference ( $Line ) # Reference
blockRule ( $Line ) # Rule
blockSetextHeader ( $Line, array $Block = null ) # Setext
blockTable ( $Line, array $Block = null ) # Table
blockTableContinue ( $Line, array $Block )
element ( array $Element ) #
elements ( array $Elements )
inlineCode ( $Excerpt ) #
inlineEmailTag ( $Excerpt )
inlineEmphasis ( $Excerpt )
inlineEscapeSequence ( $Excerpt )
inlineImage ( $Excerpt )
inlineLink ( $Excerpt )
inlineMarkup ( $Excerpt )
inlineSpecialCharacter ( $Excerpt )
inlineStrikethrough ( $Excerpt )
inlineUrl ( $Excerpt )
inlineUrlTag ( $Excerpt )
li ( $lines ) # ~
paragraph ( $Line ) #
unmarkedText ( $text ) # ~

Private Methods

Méthode Description
lines ( array $lines ) #

Method Details

blockCode() protected méthode

# Code
protected blockCode ( $Line, $Block = null )

blockCodeComplete() protected méthode

protected blockCodeComplete ( $Block )

blockCodeContinue() protected méthode

protected blockCodeContinue ( $Line, $Block )

blockComment() protected méthode

# Comment
protected blockComment ( $Line )

blockCommentContinue() protected méthode

protected blockCommentContinue ( $Line, array $Block )
$Block array

blockFencedCode() protected méthode

# Fenced Code
protected blockFencedCode ( $Line )

blockFencedCodeComplete() protected méthode

protected blockFencedCodeComplete ( $Block )

blockFencedCodeContinue() protected méthode

protected blockFencedCodeContinue ( $Line, $Block )

blockHeader() protected méthode

# Header
protected blockHeader ( $Line )

blockList() protected méthode

# List
protected blockList ( $Line )

blockListContinue() protected méthode

protected blockListContinue ( $Line, array $Block )
$Block array

blockMarkup() protected méthode

# Markup
protected blockMarkup ( $Line )

blockMarkupContinue() protected méthode

protected blockMarkupContinue ( $Line, array $Block )
$Block array

blockQuote() protected méthode

# Quote
protected blockQuote ( $Line )

blockQuoteContinue() protected méthode

protected blockQuoteContinue ( $Line, array $Block )
$Block array

blockReference() protected méthode

# Reference
protected blockReference ( $Line )

blockRule() protected méthode

# Rule
protected blockRule ( $Line )

blockSetextHeader() protected méthode

# Setext
protected blockSetextHeader ( $Line, array $Block = null )
$Block array

blockTable() protected méthode

# Table
protected blockTable ( $Line, array $Block = null )
$Block array

blockTableContinue() protected méthode

protected blockTableContinue ( $Line, array $Block )
$Block array

element() protected méthode

#
protected element ( array $Element )
$Element array

elements() protected méthode

protected elements ( array $Elements )
$Elements array

inlineCode() protected méthode

#
protected inlineCode ( $Excerpt )

inlineEmailTag() protected méthode

protected inlineEmailTag ( $Excerpt )

inlineEmphasis() protected méthode

protected inlineEmphasis ( $Excerpt )

inlineEscapeSequence() protected méthode

protected inlineEscapeSequence ( $Excerpt )

inlineImage() protected méthode

protected inlineImage ( $Excerpt )

inlineMarkup() protected méthode

protected inlineMarkup ( $Excerpt )

inlineSpecialCharacter() protected méthode

protected inlineSpecialCharacter ( $Excerpt )

inlineStrikethrough() protected méthode

protected inlineStrikethrough ( $Excerpt )

inlineUrl() protected méthode

protected inlineUrl ( $Excerpt )

inlineUrlTag() protected méthode

protected inlineUrlTag ( $Excerpt )

instance() public static méthode

#
public static instance ( $name = 'default' )

li() protected méthode

# ~
protected li ( $lines )

line() public méthode

#
public line ( $text )

paragraph() protected méthode

#
protected paragraph ( $Line )

parse() public méthode

#
public parse ( $text )

setBreaksEnabled() public méthode

#
public setBreaksEnabled ( $breaksEnabled )

setMarkupEscaped() public méthode

public setMarkupEscaped ( $markupEscaped )

setUrlsLinked() public méthode

public setUrlsLinked ( $urlsLinked )

text() public méthode

# ~
public text ( $text )

unmarkedText() protected méthode

# ~
protected unmarkedText ( $text )

Property Details

$BlockTypes protected_oe property

#
protected $BlockTypes

$DefinitionData protected_oe property

#
protected $DefinitionData

$DefinitionTypes protected_oe property

# ~
protected $DefinitionTypes

$EmRegex protected_oe property

protected $EmRegex

$InlineTypes protected_oe property

#
protected $InlineTypes

$StrongRegex protected_oe property

protected $StrongRegex

$breaksEnabled protected_oe property

protected $breaksEnabled

$inlineMarkerList protected_oe property

# ~
protected $inlineMarkerList

$markupEscaped protected_oe property

protected $markupEscaped

$regexHtmlAttribute protected_oe property

protected $regexHtmlAttribute

$specialCharacters protected_oe property

# Read-Only
protected $specialCharacters

$textLevelElements protected_oe property

protected $textLevelElements

$unmarkedBlockTypes protected_oe property

# ~
protected $unmarkedBlockTypes

$urlsLinked protected_oe property

protected $urlsLinked

$voidElements protected_oe property

protected $voidElements