PHP Класс Horde_Cli_Modular_Modules, 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 IteratorAggregate, implements Countable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( array $parameters = null ) Constructor.
count ( ) : integer Implementation of Countable count() method. Returns the number of modules.
getIterator ( )
listModules ( ) : array List the available modules.

Приватные методы

Метод Описание
_initModules ( ) : null Initialize the list of module class names.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( array $parameters = null )
$parameters array Options for this instance.
 - directory: (string) The path to the directory that holds the modules.
 - exclude:   (array) Exclude these modules from the list.

count() публичный Метод

Implementation of Countable count() method. Returns the number of modules.
public count ( ) : integer
Результат integer Number of modules.

getIterator() публичный Метод

public getIterator ( )

listModules() публичный Метод

List the available modules.
public listModules ( ) : array
Результат array The list of modules.