Actions
Bug #52594
closedProperly deprecate insertModuleFunction "$classPath" parameter
Start date:
2013-10-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
To add submodules in existing modules (i.e. Web>Info or Web>Function) you add:
ExtensionManagementUtility::insertModuleFunction($name, $className, $classPath ..)
to your ext_tables.php. The $classPath is then loaded with "include_once" in the relevant module. This is of course old-school in times where we have auto-loading, and thus we need to properly deprecate this method of loading submodules in favor of auto-loading.
See #51471 for a live example (realurl) on how this can be changed to use auto-loading.
Actions