/** * @return string */ public function getModulePath() { $sModulePath = $this->getPath(); if (!SiteMapA::isValidMapPath($sModulePath) && SiteMapA::isValidObjectPath($sModulePath)) { $sModulePath = $this->getModuleMap()->getModulePath(); } if (!UrlParserA::hasGoodTermination($sModulePath, DIRECTORY_SEPARATOR)) { $sModulePath .= DIRECTORY_SEPARATOR; } return $sModulePath; }