if (t3lib_extMgm::isLoaded('my_ext')) { // Extension is loaded } else { // Extension is not loaded }
t3lib_extMgm::addExtension('my_ext', 'ext_tables.php', '', array());
$version = t3lib_extMgm::getExtensionVersion('my_ext');In this example, we use the `getExtensionVersion` method to get the version of the extension with the key `my_ext`. We store the version in the variable `$version`. Based on the examples given, t3lib_extMgm seems to be a library package for managing and loading extensions in TYPO3.