Bitrix Site Manager

IsModuleInstalled

bool
IsModuleInstalled(
 string module_id
)

The function IsModuleInstalled checks whether a module is installed or not. Returns true if the specified module is installed, or false otherwise.

Note
Before using a module functions and classes, include it by a call to CModule::IncludeModule.

Parameters

ParameterDescription
module_id The module ID.

See Also

Example



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

endif;
?>