PHP 클래스 Todaymade\Daux\Tree\Directory

상속: extends Entry, implements ArrayAccess, implements IteratorAggregate
파일 보기 프로젝트 열기: justinwalsh/daux.io 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$children Entry[]
$first_page Todaymade\Daux\Tree\Content

공개 메소드들

메소드 설명
addChild ( Entry $entry )
dump ( )
getConfig ( ) : Config
getEntries ( ) : Entry[]
getFirstPage ( ) : Todaymade\Daux\Tree\Content | null
getIndexPage ( ) : Todaymade\Daux\Tree\Content | null
getIterator ( )
hasContent ( ) : boolean Used when creating the navigation.
offsetExists ( mixed $offset ) : boolean Whether a offset exists
offsetGet ( mixed $offset ) : Entry Offset to retrieve
offsetSet ( mixed $offset, Entry $value ) : void Offset to set
offsetUnset ( string $offset ) : void Offset to unset
removeChild ( Entry $entry )
seekFirstPage ( ) : Todaymade\Daux\Tree\Content | null Seek the first available page from descendants
setFirstPage ( Todaymade\Daux\Tree\Content $first_page )
sort ( )

비공개 메소드들

메소드 설명
sortBucket ( $bucket, $final )

메소드 상세

addChild() 공개 메소드

public addChild ( Entry $entry )
$entry Entry

dump() 공개 메소드

public dump ( )

getConfig() 공개 메소드

public getConfig ( ) : Config
리턴 Todaymade\Daux\Config

getEntries() 공개 메소드

public getEntries ( ) : Entry[]
리턴 Entry[]

getFirstPage() 공개 메소드

public getFirstPage ( ) : Todaymade\Daux\Tree\Content | null
리턴 Todaymade\Daux\Tree\Content | null

getIndexPage() 공개 메소드

public getIndexPage ( ) : Todaymade\Daux\Tree\Content | null
리턴 Todaymade\Daux\Tree\Content | null

getIterator() 공개 메소드

public getIterator ( )

hasContent() 공개 메소드

Hides folders without showable content
public hasContent ( ) : boolean
리턴 boolean

offsetExists() 공개 메소드

Whether a offset exists
public offsetExists ( mixed $offset ) : boolean
$offset mixed An offset to check for.
리턴 boolean true on success or false on failure.

offsetGet() 공개 메소드

Offset to retrieve
public offsetGet ( mixed $offset ) : Entry
$offset mixed The offset to retrieve.
리턴 Entry Can return all value types.

offsetSet() 공개 메소드

Offset to set
public offsetSet ( mixed $offset, Entry $value ) : void
$offset mixed The offset to assign the value to.
$value Entry The value to set.
리턴 void

offsetUnset() 공개 메소드

Offset to unset
public offsetUnset ( string $offset ) : void
$offset string the offset to unset
리턴 void

removeChild() 공개 메소드

public removeChild ( Entry $entry )
$entry Entry

seekFirstPage() 공개 메소드

Seek the first available page from descendants
public seekFirstPage ( ) : Todaymade\Daux\Tree\Content | null
리턴 Todaymade\Daux\Tree\Content | null

setFirstPage() 공개 메소드

public setFirstPage ( Todaymade\Daux\Tree\Content $first_page )
$first_page Todaymade\Daux\Tree\Content

sort() 공개 메소드

public sort ( )

프로퍼티 상세

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

protected Entry[],Todaymade\Daux\Tree $children
리턴 Entry[]

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

protected Content,Todaymade\Daux\Tree $first_page
리턴 Todaymade\Daux\Tree\Content