PHP 클래스 Components_Component_Dependency, 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.
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $dependency, Components_Component_Factory $factory ) Constructor.
channelOrType ( ) : string Return the package channel or the type description for the dependency.
getChannel ( ) : string Return the package channel for the dependency
getComponent ( array $options = [] ) : Component_Component Return the dependency in its component representation.
getDependencyInformation ( ) : array Return the original dependency information.
getName ( ) : string Return the package name for the dependency
isExtension ( ) : boolen Is this a PHP extension dependency?
isHorde ( ) : boolen Is the dependency a Horde dependency?
isPackage ( ) : boolen Is this a package dependency?
isPearBase ( ) : boolen Is the dependency the PEAR base package?
isPhp ( ) : boolen Is this the PHP dependency?
isRequired ( ) : boolen Is the dependency required?
key ( ) : string Return the key for the dependency

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $dependency, Components_Component_Factory $factory )
$dependency array The dependency information.
$factory Components_Component_Factory Helper factory.

channelOrType() 공개 메소드

Return the package channel or the type description for the dependency.
public channelOrType ( ) : string
리턴 string The package channel.

getChannel() 공개 메소드

Return the package channel for the dependency
public getChannel ( ) : string
리턴 string The package channel.

getComponent() 공개 메소드

Return the dependency in its component representation.
public getComponent ( array $options = [] ) : Component_Component
$options array The options for resolving the component.
리턴 Component_Component The component.

getDependencyInformation() 공개 메소드

Return the original dependency information.
public getDependencyInformation ( ) : array
리턴 array The original dependency information.

getName() 공개 메소드

Return the package name for the dependency
public getName ( ) : string
리턴 string The package name.

isExtension() 공개 메소드

Is this a PHP extension dependency?
public isExtension ( ) : boolen
리턴 boolen True if it is a PHP extension dependency.

isHorde() 공개 메소드

Is the dependency a Horde dependency?
public isHorde ( ) : boolen
리턴 boolen True if it is a Horde dependency.

isPackage() 공개 메소드

Is this a package dependency?
public isPackage ( ) : boolen
리턴 boolen True if the dependency is a package.

isPearBase() 공개 메소드

Is the dependency the PEAR base package?
public isPearBase ( ) : boolen
리턴 boolen True if it is the PEAR base package.

isPhp() 공개 메소드

Is this the PHP dependency?
public isPhp ( ) : boolen
리턴 boolen True if it is the PHP dependency.

isRequired() 공개 메소드

Is the dependency required?
public isRequired ( ) : boolen
리턴 boolen True if the dependency is required.

key() 공개 메소드

Return the key for the dependency
public key ( ) : string
리턴 string The uniqe key for this dependency.