Table of Contents
-
version
= '0.7.0'
-
$BlockTypes
: mixed
-
$breaksEnabled
: mixed
-
$DefinitionData
: mixed
-
$EmRegex
: mixed
-
$inlineMarkerList
: mixed
-
$InlineTypes
: mixed
-
$markupEscaped
: mixed
-
$regexAttribute
: mixed
-
$regexHtmlAttribute
: mixed
-
$safeLinksWhitelist
: mixed
-
$safeMode
: mixed
-
$specialCharacters
: mixed
-
$StrongRegex
: mixed
-
$textLevelElements
: mixed
-
$unmarkedBlockTypes
: mixed
-
$urlsLinked
: mixed
-
$voidElements
: mixed
-
$footnoteCount
: mixed
-
$instances
: mixed
-
__construct()
: mixed
-
instance()
: mixed
-
line()
: mixed
-
parse()
: mixed
-
setBreaksEnabled()
: mixed
-
setMarkupEscaped()
: mixed
-
setSafeMode()
: mixed
-
setUrlsLinked()
: mixed
-
text()
: mixed
-
addDdElement()
: mixed
-
blockAbbreviation()
: mixed
-
blockCode()
: mixed
-
blockCodeComplete()
: mixed
-
blockCodeContinue()
: mixed
-
blockComment()
: mixed
-
blockCommentContinue()
: mixed
-
blockDefinitionList()
: mixed
-
blockDefinitionListContinue()
: mixed
-
blockFencedCode()
: mixed
-
blockFencedCodeComplete()
: mixed
-
blockFencedCodeContinue()
: mixed
-
blockFootnote()
: mixed
-
blockFootnoteComplete()
: mixed
-
blockFootnoteContinue()
: mixed
-
blockHeader()
: mixed
-
blockList()
: mixed
-
blockListComplete()
: mixed
-
blockListContinue()
: mixed
-
blockMarkup()
: mixed
-
blockMarkupComplete()
: mixed
-
blockMarkupContinue()
: mixed
-
blockQuote()
: mixed
-
blockQuoteContinue()
: mixed
-
blockReference()
: mixed
-
blockRule()
: mixed
-
blockSetextHeader()
: mixed
-
blockTable()
: mixed
-
blockTableContinue()
: mixed
-
buildFootnoteElement()
: mixed
-
element()
: mixed
-
elements()
: mixed
-
escape()
: mixed
-
filterUnsafeUrlInAttribute()
: mixed
-
inlineCode()
: mixed
-
inlineEmailTag()
: mixed
-
inlineEmphasis()
: mixed
-
inlineEscapeSequence()
: mixed
-
inlineFootnoteMarker()
: mixed
-
inlineImage()
: mixed
-
inlineLink()
: mixed
-
inlineMarkup()
: mixed
-
inlineSpecialCharacter()
: mixed
-
inlineStrikethrough()
: mixed
-
inlineUrl()
: mixed
-
inlineUrlTag()
: mixed
-
isBlockCompletable()
: mixed
-
isBlockContinuable()
: mixed
-
li()
: mixed
-
lines()
: mixed
-
paragraph()
: mixed
-
parseAttributeData()
: mixed
-
processTag()
: mixed
-
sanitiseElement()
: mixed
-
sortFootnotes()
: mixed
-
striAtStart()
: mixed
-
unmarkedText()
: mixed
version
public
mixed
version
= '0.7.0'
$BlockTypes
protected
mixed
$BlockTypes
= array('#' => array('Header'), '*' => array('Rule', 'List'), '+' => array('List'), '-' => array('SetextHeader', 'Table', 'Rule', 'List'), '0' => array('List'), '1' => array('List'), '2' => array('List'), '3' => array('List'), '4' => array('List'), '5' => array('List'), '6' => array('List'), '7' => array('List'), '8' => array('List'), '9' => array('List'), ':' => array('Table'), '<' => array('Comment', 'Markup'), '=' => array('SetextHeader'), '>' => array('Quote'), '[' => array('Reference'), '_' => array('Rule'), '`' => array('FencedCode'), '|' => array('Table'), '~' => array('FencedCode'))
$breaksEnabled
protected
mixed
$breaksEnabled
$DefinitionData
protected
mixed
$DefinitionData
$EmRegex
protected
mixed
$EmRegex
= array('*' => '/^[*]((?:\\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s', '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\\b/us')
$inlineMarkerList
protected
mixed
$inlineMarkerList
= '!"*_&[:<>`~\\'
$InlineTypes
protected
mixed
$InlineTypes
= array('"' => array('SpecialCharacter'), '!' => array('Image'), '&' => array('SpecialCharacter'), '*' => array('Emphasis'), ':' => array('Url'), '<' => array('UrlTag', 'EmailTag', 'Markup', 'SpecialCharacter'), '>' => array('SpecialCharacter'), '[' => array('Link'), '_' => array('Emphasis'), '`' => array('Code'), '~' => array('Strikethrough'), '\\' => array('EscapeSequence'))
$markupEscaped
protected
mixed
$markupEscaped
$regexAttribute
protected
mixed
$regexAttribute
= '(?:[#.][-\\w]+[ ]*)'
$regexHtmlAttribute
protected
mixed
$regexHtmlAttribute
= '[a-zA-Z_:][\\w:.-]*(?:\\s*=\\s*(?:[^"\'=<>`\\s]+|"[^"]*"|\'[^\']*\'))?'
$safeLinksWhitelist
protected
mixed
$safeLinksWhitelist
= array('http://', 'https://', 'ftp://', 'ftps://', 'mailto:', 'data:image/png;base64,', 'data:image/gif;base64,', 'data:image/jpeg;base64,', 'irc:', 'ircs:', 'git:', 'ssh:', 'news:', 'steam:')
$safeMode
protected
mixed
$safeMode
$specialCharacters
protected
mixed
$specialCharacters
= array('\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|')
$StrongRegex
protected
mixed
$StrongRegex
= array('*' => '/^[*]{2}((?:\\\\\\*|[^*]|[*][^*]*[*])+?)[*]{2}(?![*])/s', '_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us')
$textLevelElements
protected
mixed
$textLevelElements
= array('a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont', 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing', 'i', 'rp', 'del', 'code', 'strike', 'marquee', 'q', 'rt', 'ins', 'font', 'strong', 's', 'tt', 'kbd', 'mark', 'u', 'xm', 'sub', 'nobr', 'sup', 'ruby', 'var', 'span', 'wbr', 'time')
$unmarkedBlockTypes
protected
mixed
$unmarkedBlockTypes
= array('Code')
$urlsLinked
protected
mixed
$urlsLinked
= \true
$voidElements
protected
mixed
$voidElements
= array('area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source')
private
mixed
$footnoteCount
= 0
$instances
private
static mixed
$instances
= array()
__construct()
public
__construct() : mixed
Return values
mixed
—
instance()
public
static instance([mixed $name = 'default' ]) : mixed
Parameters
-
$name
: mixed
= 'default'
-
Return values
mixed
—
line()
public
line(mixed $text[, mixed $nonNestables = array() ]) : mixed
Parameters
-
$text
: mixed
-
-
$nonNestables
: mixed
= array()
-
Return values
mixed
—
parse()
public
parse(mixed $text) : mixed
Parameters
-
$text
: mixed
-
Return values
mixed
—
setBreaksEnabled()
public
setBreaksEnabled(mixed $breaksEnabled) : mixed
Parameters
-
$breaksEnabled
: mixed
-
Return values
mixed
—
setMarkupEscaped()
public
setMarkupEscaped(mixed $markupEscaped) : mixed
Parameters
-
$markupEscaped
: mixed
-
Return values
mixed
—
setSafeMode()
public
setSafeMode(mixed $safeMode) : mixed
Parameters
-
$safeMode
: mixed
-
Return values
mixed
—
setUrlsLinked()
public
setUrlsLinked(mixed $urlsLinked) : mixed
Parameters
-
$urlsLinked
: mixed
-
Return values
mixed
—
text()
public
text(mixed $text) : mixed
Parameters
-
$text
: mixed
-
Return values
mixed
—
addDdElement()
protected
addDdElement(array<string|int, mixed> $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: array<string|int, mixed>
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockAbbreviation()
protected
blockAbbreviation(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockCode()
protected
blockCode(mixed $Line[, mixed $Block = null ]) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: mixed
= null
-
Return values
mixed
—
blockCodeComplete()
protected
blockCodeComplete(mixed $Block) : mixed
Parameters
-
$Block
: mixed
-
Return values
mixed
—
blockCodeContinue()
protected
blockCodeContinue(mixed $Line, mixed $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: mixed
-
Return values
mixed
—
protected
blockComment(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
protected
blockCommentContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockDefinitionList()
protected
blockDefinitionList(mixed $Line, mixed $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: mixed
-
Return values
mixed
—
blockDefinitionListContinue()
protected
blockDefinitionListContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockFencedCode()
protected
blockFencedCode(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockFencedCodeComplete()
protected
blockFencedCodeComplete(mixed $Block) : mixed
Parameters
-
$Block
: mixed
-
Return values
mixed
—
blockFencedCodeContinue()
protected
blockFencedCodeContinue(mixed $Line, mixed $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: mixed
-
Return values
mixed
—
protected
blockFootnote(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
protected
blockFootnoteComplete(mixed $Block) : mixed
Parameters
-
$Block
: mixed
-
Return values
mixed
—
protected
blockFootnoteContinue(mixed $Line, mixed $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: mixed
-
Return values
mixed
—
protected
blockHeader(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockList()
protected
blockList(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockListComplete()
protected
blockListComplete(array<string|int, mixed> $Block) : mixed
Parameters
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockListContinue()
protected
blockListContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockMarkup()
protected
blockMarkup(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockMarkupComplete()
protected
blockMarkupComplete(mixed $Block) : mixed
Parameters
-
$Block
: mixed
-
Return values
mixed
—
blockMarkupContinue()
protected
blockMarkupContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockQuote()
protected
blockQuote(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockQuoteContinue()
protected
blockQuoteContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
blockReference()
protected
blockReference(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
blockRule()
protected
blockRule(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
protected
blockSetextHeader(mixed $Line[, array<string|int, mixed> $Block = null ]) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
= null
-
Return values
mixed
—
blockTable()
protected
blockTable(mixed $Line[, array<string|int, mixed> $Block = null ]) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
= null
-
Return values
mixed
—
blockTableContinue()
protected
blockTableContinue(mixed $Line, array<string|int, mixed> $Block) : mixed
Parameters
-
$Line
: mixed
-
-
$Block
: array<string|int, mixed>
-
Return values
mixed
—
protected
buildFootnoteElement() : mixed
Return values
mixed
—
element()
protected
element(array<string|int, mixed> $Element) : mixed
Parameters
-
$Element
: array<string|int, mixed>
-
Return values
mixed
—
elements()
protected
elements(array<string|int, mixed> $Elements) : mixed
Parameters
-
$Elements
: array<string|int, mixed>
-
Return values
mixed
—
escape()
protected
static escape(mixed $text[, mixed $allowQuotes = false ]) : mixed
Parameters
-
$text
: mixed
-
-
$allowQuotes
: mixed
= false
-
Return values
mixed
—
filterUnsafeUrlInAttribute()
protected
filterUnsafeUrlInAttribute(array<string|int, mixed> $Element, mixed $attribute) : mixed
Parameters
-
$Element
: array<string|int, mixed>
-
-
$attribute
: mixed
-
Return values
mixed
—
inlineCode()
protected
inlineCode(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineEmailTag()
protected
inlineEmailTag(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineEmphasis()
protected
inlineEmphasis(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineEscapeSequence()
protected
inlineEscapeSequence(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
protected
inlineFootnoteMarker(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineImage()
protected
inlineImage(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineLink()
protected
inlineLink(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineMarkup()
protected
inlineMarkup(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineSpecialCharacter()
protected
inlineSpecialCharacter(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineStrikethrough()
protected
inlineStrikethrough(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineUrl()
protected
inlineUrl(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
inlineUrlTag()
protected
inlineUrlTag(mixed $Excerpt) : mixed
Parameters
-
$Excerpt
: mixed
-
Return values
mixed
—
isBlockCompletable()
protected
isBlockCompletable(mixed $Type) : mixed
Parameters
-
$Type
: mixed
-
Return values
mixed
—
isBlockContinuable()
protected
isBlockContinuable(mixed $Type) : mixed
Parameters
-
$Type
: mixed
-
Return values
mixed
—
li()
protected
li(mixed $lines) : mixed
Parameters
-
$lines
: mixed
-
Return values
mixed
—
lines()
protected
lines(array<string|int, mixed> $lines) : mixed
Parameters
-
$lines
: array<string|int, mixed>
-
Return values
mixed
—
paragraph()
protected
paragraph(mixed $Line) : mixed
Parameters
-
$Line
: mixed
-
Return values
mixed
—
parseAttributeData()
protected
parseAttributeData(mixed $attributeString) : mixed
Parameters
-
$attributeString
: mixed
-
Return values
mixed
—
processTag()
protected
processTag(mixed $elementMarkup) : mixed
Parameters
-
$elementMarkup
: mixed
-
Return values
mixed
—
sanitiseElement()
protected
sanitiseElement(array<string|int, mixed> $Element) : mixed
Parameters
-
$Element
: array<string|int, mixed>
-
Return values
mixed
—
protected
sortFootnotes(mixed $A, mixed $B) : mixed
Parameters
-
$A
: mixed
-
-
$B
: mixed
-
Return values
mixed
—
striAtStart()
protected
static striAtStart(mixed $string, mixed $needle) : mixed
Parameters
-
$string
: mixed
-
-
$needle
: mixed
-
Return values
mixed
—
unmarkedText()
protected
unmarkedText(mixed $text) : mixed
Parameters
-
$text
: mixed
-
Return values
mixed
—