PHP 클래스 League\CommonMark\Block\Element\HtmlBlock

상속: extends AbstractBlock
파일 보기 프로젝트 열기: colinodell/commonmark-php

보호된 프로퍼티들

프로퍼티 타입 설명
$type integer

공개 메소드들

메소드 설명
__construct ( integer $type )
acceptsLines ( ) : boolean Returns true if block type can accept lines of text
canContain ( AbstractBlock $block ) : boolean Returns true if this block can contain the given block as a child node
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
getType ( ) : integer
handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )
setType ( integer $type )

메소드 상세

__construct() 공개 메소드

public __construct ( integer $type )
$type integer

acceptsLines() 공개 메소드

Returns true if block type can accept lines of text
public acceptsLines ( ) : boolean
리턴 boolean

canContain() 공개 메소드

Returns true if this block can contain the given block as a child node
public canContain ( AbstractBlock $block ) : boolean
$block AbstractBlock
리턴 boolean

finalize() 공개 메소드

public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
$context League\CommonMark\ContextInterface

getType() 공개 메소드

public getType ( ) : integer
리턴 integer

handleRemainingContents() 공개 메소드

public handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor

isCode() 공개 메소드

Whether this is a code block
public isCode ( ) : boolean
리턴 boolean

matchesNextLine() 공개 메소드

public matchesNextLine ( Cursor $cursor )
$cursor League\CommonMark\Cursor

setType() 공개 메소드

public setType ( integer $type )
$type integer

프로퍼티 상세

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

protected int $type
리턴 integer