PHP Class AdminPageFramework_Parsedown

显示文件 Open project: michaeluno/admin-page-framework Class Usage Examples

Protected Properties

Property Type Description
$BlockTypes
$DefinitionData
$EmRegex
$InlineTypes
$StrongRegex
$breaksEnabled
$inlineMarkerList
$markupEscaped
$regexHtmlAttribute
$specialCharacters
$textLevelElements
$unmarkedBlockTypes
$urlsLinked
$voidElements

Public Methods

Method Description
instance ( $name = 'default' )
line ( $text )
parse ( $text )
setBreaksEnabled ( $breaksEnabled )
setMarkupEscaped ( $markupEscaped )
setUrlsLinked ( $urlsLinked )
text ( $text )

Protected Methods

Method Description
blockCode ( $Line, $Block = null )
blockCodeComplete ( $Block )
blockCodeContinue ( $Line, $Block )
blockComment ( $Line )
blockCommentContinue ( $Line, array $Block )
blockFencedCode ( $Line )
blockFencedCodeComplete ( $Block )
blockFencedCodeContinue ( $Line, $Block )
blockHeader ( $Line )
blockList ( $Line )
blockListContinue ( $Line, array $Block )
blockMarkup ( $Line )
blockMarkupContinue ( $Line, array $Block )
blockQuote ( $Line )
blockQuoteContinue ( $Line, array $Block )
blockReference ( $Line )
blockRule ( $Line )
blockSetextHeader ( $Line, array $Block = null )
blockTable ( $Line, array $Block = null )
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

Method Description
lines ( array $lines )

Method Details

blockCode() protected method

protected blockCode ( $Line, $Block = null )

blockCodeComplete() protected method

protected blockCodeComplete ( $Block )

blockCodeContinue() protected method

protected blockCodeContinue ( $Line, $Block )

blockComment() protected method

protected blockComment ( $Line )

blockCommentContinue() protected method

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

blockFencedCode() protected method

protected blockFencedCode ( $Line )

blockFencedCodeComplete() protected method

protected blockFencedCodeComplete ( $Block )

blockFencedCodeContinue() protected method

protected blockFencedCodeContinue ( $Line, $Block )

blockHeader() protected method

protected blockHeader ( $Line )

blockList() protected method

protected blockList ( $Line )

blockListContinue() protected method

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

blockMarkup() protected method

protected blockMarkup ( $Line )

blockMarkupContinue() protected method

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

blockQuote() protected method

protected blockQuote ( $Line )

blockQuoteContinue() protected method

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

blockReference() protected method

protected blockReference ( $Line )

blockRule() protected method

protected blockRule ( $Line )

blockSetextHeader() protected method

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

blockTable() protected method

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

blockTableContinue() protected method

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

element() protected method

protected element ( array $Element )
$Element array

elements() protected method

protected elements ( array $Elements )
$Elements array

inlineCode() protected method

protected inlineCode ( $Excerpt )

inlineEmailTag() protected method

protected inlineEmailTag ( $Excerpt )

inlineEmphasis() protected method

protected inlineEmphasis ( $Excerpt )

inlineEscapeSequence() protected method

protected inlineEscapeSequence ( $Excerpt )

inlineImage() protected method

protected inlineImage ( $Excerpt )

inlineMarkup() protected method

protected inlineMarkup ( $Excerpt )

inlineSpecialCharacter() protected method

protected inlineSpecialCharacter ( $Excerpt )

inlineStrikethrough() protected method

protected inlineStrikethrough ( $Excerpt )

inlineUrl() protected method

protected inlineUrl ( $Excerpt )

inlineUrlTag() protected method

protected inlineUrlTag ( $Excerpt )

instance() static public method

static public instance ( $name = 'default' )

li() protected method

protected li ( $lines )

line() public method

public line ( $text )

paragraph() protected method

protected paragraph ( $Line )

parse() public method

public parse ( $text )

setBreaksEnabled() public method

public setBreaksEnabled ( $breaksEnabled )

setMarkupEscaped() public method

public setMarkupEscaped ( $markupEscaped )

setUrlsLinked() public method

public setUrlsLinked ( $urlsLinked )

text() public method

public text ( $text )

unmarkedText() protected method

protected unmarkedText ( $text )

Property Details

$BlockTypes protected_oe property

protected $BlockTypes

$DefinitionData protected_oe property

protected $DefinitionData

$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

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