/** * Returns the url to the current module's page or NULL if the menu page is not configured * @return null|string */ public function getUrl() { if (null !== ($url = $this->environment->getUrl())) { return $url . '&module=' . end(explode('_', strtolower(basename($this->location)))); } return null; }