PHP 클래스 League\CommonMark\HtmlRenderer

상속: implements League\CommonMark\ElementRendererInterface
파일 보기 프로젝트 열기: colinodell/commonmark-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$environment Environment

공개 메소드들

메소드 설명
__construct ( Environment $environment )
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

보호된 메소드들

메소드 설명
renderInline ( AbstractInline $inline ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Environment $environment )
$environment Environment

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

renderInline() 보호된 메소드

protected renderInline ( AbstractInline $inline ) : string
$inline League\CommonMark\Inline\Element\AbstractInline
리턴 string

renderInlines() 공개 메소드

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

프로퍼티 상세

$environment 보호되어 있는 프로퍼티

protected Environment,League\CommonMark $environment
리턴 Environment