private function loadModule(array $data)
    {
        $module = null;
        try {
            $module = $this->createFromArray($data);
        } catch (\common_exception_InconsistentData $dataException) {
            \common_Logger::w('Got inconsistent module data, skipping.');
        }
        return $module;
    }
private function loadModule(array $data)
    {
        $module = null;
        try {
            $module = $this->createFromArray($data);
        } catch (\common_exception_InconsistentData $dataException) {
            \common_Logger::w('Got inconsistent module data, skipping.');
        }
        return $module;
    }
private function loadModule ( array $ data ) { $ module = null ; try { $ module = $ this -> createFromArray ( $ data ) ; } catch ( \ common_exception_InconsistentData $ dataException ) { \ common_Logger :: w ( 'Got inconsistent module data, skipping.' ) ; } return $ module ; }
Load a module from the given data
@param array $data
@return DynamicModule|null
Load a module from the given data