public function getModule($id)
{
if (!array_key_exists($id, $this->_modules)) {
return null;
}
// force loading of a lazy module
if ($this->_modules[$id] === null) {
$module = $this->internalLoadModule($id, true);
$module[0]->init($module[1]);
}
return $this->_modules[$id];
}