TYPO3
7.6
|
Public Member Functions | |
getConstraintTypes () | |
__construct ($packageKey) | |
getPackageKey () | |
getPackageType () | |
setPackageType ($packageType) | |
getVersion () | |
setVersion ($version) | |
getDescription () | |
setDescription ($description) | |
getConstraints () | |
getConstraintsByType ($constraintType) | |
addConstraint (MetaData\PackageConstraint $constraint) | |
Public Attributes | |
const | CONSTRAINT_TYPE_DEPENDS = 'depends' |
const | CONSTRAINT_TYPE_CONFLICTS = 'conflicts' |
const | CONSTRAINT_TYPE_SUGGESTS = 'suggests' |
Protected Attributes | |
$packageKey | |
$packageType | |
$version | |
$title | |
$description | |
$constraints = array() | |
Static Protected Attributes | |
static | $CONSTRAINT_TYPES = array(self::CONSTRAINT_TYPE_DEPENDS, self::CONSTRAINT_TYPE_CONFLICTS, self::CONSTRAINT_TYPE_SUGGESTS) |
The default TYPO3 Package MetaData implementation Adapted from FLOW for TYPO3 CMS
Definition at line 21 of file MetaData.php.
__construct | ( | $packageKey | ) |
Package metadata constructor
string | $packageKey | The package key |
Definition at line 83 of file MetaData.php.
References MetaData\$packageKey.
addConstraint | ( | MetaData\PackageConstraint | $constraint | ) |
Add a constraint
MetaData\PackageConstraint | $constraint | The constraint to add |
Definition at line 180 of file MetaData.php.
getConstraints | ( | ) |
Get all constraints
Definition at line 155 of file MetaData.php.
References MetaData\$constraints.
getConstraintsByType | ( | $constraintType | ) |
Get the constraints by type
string | $constraintType | Type of the constraints to get: CONSTRAINT_TYPE_* |
Definition at line 166 of file MetaData.php.
getConstraintTypes | ( | ) |
Get all available constraint types
Definition at line 73 of file MetaData.php.
getDescription | ( | ) |
Definition at line 136 of file MetaData.php.
References MetaData\$description.
getPackageKey | ( | ) |
Definition at line 91 of file MetaData.php.
References MetaData\$packageKey.
getPackageType | ( | ) |
Get package type
Definition at line 101 of file MetaData.php.
References MetaData\$packageType.
getVersion | ( | ) |
Definition at line 119 of file MetaData.php.
References MetaData\$version.
setDescription | ( | $description | ) |
string | $description | The package description to set |
Definition at line 145 of file MetaData.php.
References MetaData\$description.
setPackageType | ( | $packageType | ) |
Set package type
string | $packageType |
Definition at line 111 of file MetaData.php.
References MetaData\$packageType.
setVersion | ( | $version | ) |
string | $version | The package version to set |
Definition at line 128 of file MetaData.php.
References MetaData\$version.
|
staticprotected |
Definition at line 30 of file MetaData.php.
|
protected |
Definition at line 66 of file MetaData.php.
Referenced by MetaData\getConstraints().
|
protected |
Definition at line 60 of file MetaData.php.
Referenced by MetaData\getDescription(), and MetaData\setDescription().
|
protected |
Definition at line 35 of file MetaData.php.
Referenced by MetaData\__construct(), and MetaData\getPackageKey().
|
protected |
Definition at line 42 of file MetaData.php.
Referenced by MetaData\getPackageType(), and MetaData\setPackageType().
|
protected |
Definition at line 54 of file MetaData.php.
|
protected |
Definition at line 48 of file MetaData.php.
Referenced by MetaData\getVersion(), and MetaData\setVersion().
const CONSTRAINT_TYPE_CONFLICTS = 'conflicts' |
Definition at line 24 of file MetaData.php.
const CONSTRAINT_TYPE_DEPENDS = 'depends' |
Definition at line 23 of file MetaData.php.
const CONSTRAINT_TYPE_SUGGESTS = 'suggests' |
Definition at line 25 of file MetaData.php.
Referenced by PackageManager\getSuggestionArrayForPackage().