TYPO3
7.6
|
Public Member Functions | |
includeEmConf (array $extension) | |
constructEmConf (array $extensionData,\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension=null) | |
fixEmConf (array $emConf) | |
stringToDependency ($dependency) | |
Utility for dealing with ext_emconf
Definition at line 20 of file EmConfUtility.php.
constructEmConf | ( | array | $extensionData, |
\TYPO3\CMS\Extensionmanager\Domain\Model\Extension | $extension = null |
||
) |
Generates the content for the ext_emconf.php file Sets dependencies from TER data if any
Definition at line 51 of file EmConfUtility.php.
References EmConfUtility\fixEmConf().
fixEmConf | ( | array | $emConf | ) |
Fix the em conf - Converts old / ter em_conf format to new format
array | $emConf |
Definition at line 82 of file EmConfUtility.php.
References EmConfUtility\stringToDependency().
Referenced by EmConfUtility\constructEmConf().
includeEmConf | ( | array | $extension | ) |
Returns the $EM_CONF array from an extensions ext_emconf.php file
array | $extension | Extension information array |
Definition at line 28 of file EmConfUtility.php.
References $EM_CONF.
stringToDependency | ( | $dependency | ) |
Checks whether the passed dependency is TER-style (string)or TER2-style (array)and returns a single string for displaying the dependencies.
It leaves out all version numbers and the "php" and "typo3" dependencies, as they are implicit and of no interest without the version number.
mixed | $dependency | Either a string or an array listing dependencies. |
Definition at line 137 of file EmConfUtility.php.
Referenced by EmConfUtility\fixEmConf().