TYPO3
7.6
|
Public Member Functions | |
getPackageReplacementKeys () | |
isPartOfFactoryDefault () | |
isPartOfMinimalUsableSystem () | |
getValueFromComposerManifest ($key=null) | |
getPackageMetaData () | |
getPackageKey () | |
isProtected () | |
setProtected ($protected) | |
getPackagePath () | |
Public Attributes | |
const | PATTERN_MATCH_PACKAGEKEY = '/^[a-z0-9]+\.(?:[a-z0-9][\.a-z0-9]*)+$/i' |
const | PATTERN_MATCH_EXTENSIONKEY = '/^[0-9a-z_-]+$/i' |
Interface for a TYPO3 Package class Adapted from FLOW for TYPO3 CMS
Definition at line 21 of file PackageInterface.php.
getPackageKey | ( | ) |
Returns the package key of this package.
Implemented in Package.
Referenced by PackageManager\registerPackage(), and PackageManager\unregisterPackage().
getPackageMetaData | ( | ) |
getPackagePath | ( | ) |
Returns the full path to this package's main directory
Implemented in Package.
Referenced by ClassLoadingInformationGenerator\buildClassLoadingInformationForPackage(), ListUtility\getInstallTypeForPackage(), and PackageManager\registerPackage().
getPackageReplacementKeys | ( | ) |
getValueFromComposerManifest | ( | $key = null | ) |
Returns contents of Composer manifest - or part there of if a key is given.
string | $key | Optional. Only return the part of the manifest indexed by 'key' |
Implemented in Package.
Referenced by ClassLoadingInformationGenerator\buildClassAliasMapForPackage(), and ClassLoadingInformationGenerator\buildClassLoadingInformationForPackage().
isPartOfFactoryDefault | ( | ) |
Tells if the package is part of the default factory configuration and therefor activated at first installation.
Implemented in Package.
isPartOfMinimalUsableSystem | ( | ) |
Tells if the package is required for a minimal usable (backend) system and therefor activated if PackageStates is created from scratch for whatever reason.
Implemented in Package.
isProtected | ( | ) |
Tells if this package is protected and therefore cannot be deactivated or deleted
Implemented in Package.
setProtected | ( | $protected | ) |
Sets the protection flag of the package
bool | $protected | TRUE if the package should be protected, otherwise FALSE |
Implemented in Package.
const PATTERN_MATCH_EXTENSIONKEY = '/^[0-9a-z_-]+$/i' |
Definition at line 25 of file PackageInterface.php.
Referenced by PackageManager\isPackageKeyValid().
const PATTERN_MATCH_PACKAGEKEY = '/^[a-z0-9]+\.(?:[a-z0-9][\.a-z0-9]*)+$/i' |
Definition at line 23 of file PackageInterface.php.
Referenced by PackageManager\isPackageKeyValid().