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.
Автор: Gunnar Wrobel ([email protected])
Наследование: implements Iterator
Показать файл Открыть проект

Открытые методы

Метод Описание
__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