Documentation

IsModuleInstalled

bool
IsModuleInstalled(
 string module_id
);

The function checks if the module is installed. Returns true, if the module is installed, otherwise returns false.

Note. To use functions and classes of the same module, it must be preliminarily connected via the CModule::IncludeModule function.

Function parameters

ParameterDescription
module_id Module ID.

See Also

Examples of use

<?
if (IsModuleInstalled("iblock")):
	
    echo "Information blocks module is installed";

endif;
?>


© «Bitrix24», 2001-2024