/** * @return DocumentationPage */ function getPage() { $module = $this->getModule(); if (!$module) { return false; } $absFilepath = DocumentationParser::find_page($module->getPath(), $this->Remaining); if ($absFilepath) { $relativeFilePath = str_replace($module->getPath(), '', $absFilepath); return new DocumentationPage($relativeFilePath, $module, $this->Lang, $this->Version); } else { return false; } }