libra/libra-module-manager

There is no license information available for the latest version (1.0.0) of this package.

Add management of module ant their status to Libra CMS

1.0.0 2013-09-14 08:37 UTC

This package is not auto-updated.

Last update: 2024-11-23 14:45:57 UTC


README

#Libra Module Manager

##Description This module was created to enable/disable modules through admin panael.
But now you can use it to detect present modules. class_exists('Namespace/ModuleName') isn't suitable hence such class can be loaded by autoloader namespaces or classmap and won't be loaded.

#####Usage:

use LibraModuleManager\Module as ModuleManager;
// ...

        if (ModuleManager::isModulePresent('LibraLocale')) {
        // do some tasks
        // ...
        }

This function detect if module (was/will be) loaded in current application.