/** * Get the currently accessed entity from the site. * * @return false|DocumentationEntity */ function getModule() { if ($this->ModuleName) { return DocumentationService::is_registered_module($this->ModuleName, $this->Version, $this->Lang); } return false; }