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

상속: extends AbstractBlock
파일 보기 프로젝트 열기: colinodell/commonmark-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$listData ListData

공개 메소드들

메소드 설명
__construct ( ListData $listData )
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
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )
shouldLastLineBeBlank ( Cursor $cursor, integer $currentLineNumber ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( ListData $listData )
$listData ListData

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

isCode() 공개 메소드

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

matchesNextLine() 공개 메소드

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

shouldLastLineBeBlank() 공개 메소드

public shouldLastLineBeBlank ( Cursor $cursor, integer $currentLineNumber ) : boolean
$cursor League\CommonMark\Cursor
$currentLineNumber integer
리턴 boolean

프로퍼티 상세

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

protected ListData,League\CommonMark\Block\Element $listData
리턴 ListData