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.
상속: implements IteratorAggregate, implements Countable
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__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.