PHP 클래스 Jelix\Dependencies\Item

파일 보기 프로젝트 열기: jelix/jelix 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_isInstalled
$action
$currentVersion
$dependencies
$name
$nextVersion
$properties

공개 메소드들

메소드 설명
__construct ( string $name, boolean $isInstalled, string $currentVersion, integer $action, null $nextVersion = null ) Item constructor.
addDependency ( $name, $version = '*' )
getAction ( )
getCurrentVersion ( )
getDependencies ( )
getName ( )
getNextVersion ( )
getProperty ( $name )
isInstalled ( )
setAction ( $action, $nextVersion = null )
setProperty ( $name, $value ) To set properties that can be useful for the user of the Resolver.

메소드 상세

__construct() 공개 메소드

Item constructor.
public __construct ( string $name, boolean $isInstalled, string $currentVersion, integer $action, null $nextVersion = null )
$name string an name that is unique among all items
$isInstalled boolean
$currentVersion string
$action integer one of Resolver::ACTION_* const
$nextVersion null if action is ACTION_UPGRADE

addDependency() 공개 메소드

public addDependency ( $name, $version = '*' )

getAction() 공개 메소드

public getAction ( )

getCurrentVersion() 공개 메소드

public getCurrentVersion ( )

getDependencies() 공개 메소드

public getDependencies ( )

getName() 공개 메소드

public getName ( )

getNextVersion() 공개 메소드

public getNextVersion ( )

getProperty() 공개 메소드

public getProperty ( $name )

isInstalled() 공개 메소드

public isInstalled ( )

setAction() 공개 메소드

public setAction ( $action, $nextVersion = null )

setProperty() 공개 메소드

To set properties that can be useful for the user of the Resolver.
public setProperty ( $name, $value )
$name
$value

프로퍼티 상세

$_isInstalled 보호되어 있는 프로퍼티

protected $_isInstalled

$action 보호되어 있는 프로퍼티

protected $action

$currentVersion 보호되어 있는 프로퍼티

protected $currentVersion

$dependencies 보호되어 있는 프로퍼티

protected $dependencies

$name 보호되어 있는 프로퍼티

protected $name

$nextVersion 보호되어 있는 프로퍼티

protected $nextVersion

$properties 보호되어 있는 프로퍼티

protected $properties