public function getModule($name)
	{
	    $name = $this->parseModuleAlias($name);
	    $uid = 'module.' . $name;
	    
	    if ($this->hasModule($name)) {
		    /* @var $module Module */
	        return $this->get($uid);
		} else {
		    $basePath = rtrim($this->basePath, '\\/' ) . '/' . $name;
		    if (file_exists($basePath)) {
		        
		        $this->setModule($name, $basePath);
		        
		        return $this->get($uid);;
		    }
		}
		
		return null;
	}
public function getModule($name)
	{
	    $name = $this->parseModuleAlias($name);
	    $uid = 'module.' . $name;
	    
	    if ($this->hasModule($name)) {
		    /* @var $module Module */
	        return $this->get($uid);
		} else {
		    $basePath = rtrim($this->basePath, '\\/' ) . '/' . $name;
		    if (file_exists($basePath)) {
		        
		        $this->setModule($name, $basePath);
		        
		        return $this->get($uid);;
		    }
		}
		
		return null;
	}
public function getModule ( $ name ) { $ name = $ this -> parseModuleAlias ( $ name ) ; $ uid = 'module.' . $ name ; if ( $ this -> hasModule ( $ name ) ) { /* @var $module Module */ return $ this -> get ( $ uid ) ; } else { $ basePath = rtrim ( $ this -> basePath , '\\/' ) . '/' . $ name ; if ( file_exists ( $ basePath ) ) { $ this -> setModule ( $ name , $ basePath ) ; return $ this -> get ( $ uid ) ; ; } } return null ; }
get sub module instance
@param  string $name
@return Module|null
get sub module instance