PHP Class AdminPageFramework_Parsedown, admin-page-framework

Show file 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 property

protected $BlockTypes

$DefinitionData protected property

protected $DefinitionData

$EmRegex protected property

protected $EmRegex

$InlineTypes protected property

protected $InlineTypes

$StrongRegex protected property

protected $StrongRegex

$breaksEnabled protected property

protected $breaksEnabled

$inlineMarkerList protected property

protected $inlineMarkerList

$markupEscaped protected property

protected $markupEscaped

$regexHtmlAttribute protected property

protected $regexHtmlAttribute

$specialCharacters protected property

protected $specialCharacters

$textLevelElements protected property

protected $textLevelElements

$unmarkedBlockTypes protected property

protected $unmarkedBlockTypes

$urlsLinked protected property

protected $urlsLinked

$voidElements protected property

protected $voidElements