PHP 인터페이스 League\CommonMark\ElementRendererInterface

파일 보기 프로젝트 열기: colinodell/commonmark-php 0 사용 예제들

공개 메소드들

메소드 설명
escape ( string $string, boolean $preserveEntities = false ) : string
getOption ( string $option, mixed $default = null ) : mixed
renderBlock ( AbstractBlock $block, boolean $inTightList = false ) : string
renderBlocks ( AbstractBlock[] $blocks, boolean $inTightList = false ) : string
renderInlines ( AbstractInline[] $inlines ) : string

메소드 상세

escape() 공개 메소드

public escape ( string $string, boolean $preserveEntities = false ) : string
$string string
$preserveEntities boolean
리턴 string

getOption() 공개 메소드

public getOption ( string $option, mixed $default = null ) : mixed
$option string
$default mixed
리턴 mixed

renderBlock() 공개 메소드

public renderBlock ( AbstractBlock $block, boolean $inTightList = false ) : string
$block League\CommonMark\Block\Element\AbstractBlock
$inTightList boolean
리턴 string

renderBlocks() 공개 메소드

public renderBlocks ( AbstractBlock[] $blocks, boolean $inTightList = false ) : string
$blocks League\CommonMark\Block\Element\AbstractBlock[]
$inTightList boolean
리턴 string

renderInlines() 공개 메소드

public renderInlines ( AbstractInline[] $inlines ) : string
$inlines League\CommonMark\Inline\Element\AbstractInline[]
리턴 string