PHP 클래스 Latte\MacroTokens

저자: David Grudl
상속: extends TokenIterator
파일 보기 프로젝트 열기: nette/latte 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$depth integer

공개 메소드들

메소드 설명
__construct ( $input = NULL )
append ( $val, $position = NULL ) : static Appends simple token or string (will be parsed).
fetchWord ( ) : string Reads single token (optionally delimited by comma) from string.
fetchWords ( ) : array Reads single tokens delimited by colon from string.
parse ( $s )
prepend ( $val ) : static Prepends simple token or string (will be parsed).
reset ( )

보호된 메소드들

메소드 설명
next ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $input = NULL )

append() 공개 메소드

Appends simple token or string (will be parsed).
public append ( $val, $position = NULL ) : static
리턴 static

fetchWord() 공개 메소드

Reads single token (optionally delimited by comma) from string.
public fetchWord ( ) : string
리턴 string

fetchWords() 공개 메소드

Reads single tokens delimited by colon from string.
public fetchWords ( ) : array
리턴 array

next() 보호된 메소드

protected next ( )

parse() 공개 메소드

public parse ( $s )

prepend() 공개 메소드

Prepends simple token or string (will be parsed).
public prepend ( $val ) : static
리턴 static

reset() 공개 메소드

public reset ( )

프로퍼티 상세

$depth 공개적으로 프로퍼티

public int $depth
리턴 integer