public function getModule($id)
    {
        foreach ($this->registry->getMap() as $module) {
            if ($module['id'] == $id) {
                return $this->loadModule($module);
            }
        }
        return null;
    }
public function getModule($id)
    {
        foreach ($this->registry->getMap() as $module) {
            if ($module['id'] == $id) {
                return $this->loadModule($module);
            }
        }
        return null;
    }
public function getModule ( $ id ) { foreach ( $ this -> registry -> getMap ( ) as $ module ) { if ( $ module [ 'id' ] == $ id ) { return $ this -> loadModule ( $ module ) ; } } return null ; }
Retrieve the given module from the registry

@param string $id the identifier of the module to retrieve
@return DynamicModule|null the module
Retrieve the given module from the registry