PHP 클래스 Todaymade\Daux\Tree\Builder

파일 보기 프로젝트 열기: justinwalsh/daux.io 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$IGNORED

공개 메소드들

메소드 설명
build ( Directory $node, array $ignore ) Build the initial tree
createContent ( Directory $parent, SplFileInfo $file ) : Todaymade\Daux\Tree\Content | Raw
getOrCreateDir ( Directory $parent, string $title ) : Directory
getOrCreatePage ( Directory $parent, string $path ) : Todaymade\Daux\Tree\ContentAbstract
removeSortingInformations ( string $filename ) : string

보호된 메소드들

메소드 설명
getName ( string $path ) : string Get name for a file
isIgnored ( SplFileInfo $file, $ignore )

메소드 상세

build() 공개 정적인 메소드

Build the initial tree
public static build ( Directory $node, array $ignore )
$node Directory
$ignore array

createContent() 공개 정적인 메소드

public static createContent ( Directory $parent, SplFileInfo $file ) : Todaymade\Daux\Tree\Content | Raw
$parent Directory
$file SplFileInfo
리턴 Todaymade\Daux\Tree\Content | Raw

getName() 보호된 정적인 메소드

Get name for a file
protected static getName ( string $path ) : string
$path string
리턴 string

getOrCreateDir() 공개 정적인 메소드

public static getOrCreateDir ( Directory $parent, string $title ) : Directory
$parent Directory
$title string
리턴 Directory

getOrCreatePage() 공개 정적인 메소드

public static getOrCreatePage ( Directory $parent, string $path ) : Todaymade\Daux\Tree\ContentAbstract
$parent Directory
$path string
리턴 Todaymade\Daux\Tree\ContentAbstract

isIgnored() 보호된 정적인 메소드

protected static isIgnored ( SplFileInfo $file, $ignore )
$file SplFileInfo

removeSortingInformations() 공개 정적인 메소드

public static removeSortingInformations ( string $filename ) : string
$filename string
리턴 string

프로퍼티 상세

$IGNORED 보호되어 있는 정적으로 프로퍼티

protected static $IGNORED