PHP 클래스 Components_Component_DependencyList, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
상속: implements Iterator
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( Components_Component $component, Components_Component_Factory $factory ) Constructor.
__get ( $key ) Implementation of the Iterator rewind() method. Rewinds the dependency list.
current ( ) : Components_Component_Dependency | null Implementation of the Iterator current(). Returns the current dependency.
key ( ) : mixed Implementation of the Iterator key() method. Returns the key of the current dependency.
listAllChannels ( ) : array Return all channels required for the component and its dependencies.
next ( ) : Components_Component_Dependency | null Implementation of the Iterator next() method. Returns the next dependency.
rewind ( ) Implementation of the Iterator rewind() method. Rewinds the dependency list.
valid ( ) : boolean Implementation of the Iterator valid() method. Indicates if the current element is a valid element.

비공개 메소드들

메소드 설명
_getDependencies ( ) : array Return all dependencies for this package.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Components_Component $component, Components_Component_Factory $factory )
$component Components_Component The component.
$factory Components_Component_Factory Generator for dependency representations.

__get() 공개 메소드

return NULL
public __get ( $key )

current() 공개 메소드

Implementation of the Iterator current(). Returns the current dependency.
public current ( ) : Components_Component_Dependency | null
리턴 Components_Component_Dependency | null The current dependency.

key() 공개 메소드

Implementation of the Iterator key() method. Returns the key of the current dependency.
public key ( ) : mixed
리턴 mixed The key for the current position.

listAllChannels() 공개 메소드

Return all channels required for the component and its dependencies.
public listAllChannels ( ) : array
리턴 array The list of channels.

next() 공개 메소드

Implementation of the Iterator next() method. Returns the next dependency.
public next ( ) : Components_Component_Dependency | null
리턴 Components_Component_Dependency | null The next dependency or null if there are no more dependencies.

rewind() 공개 메소드

return NULL
public rewind ( )

valid() 공개 메소드

Implementation of the Iterator valid() method. Indicates if the current element is a valid element.
public valid ( ) : boolean
리턴 boolean Whether the current element is valid