PHP Класс Jelix\Dependencies\Item

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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