/** * Build full URL to controller * * @param string $module * @param string $controller * @param array $params * @return string */ public function getFullUrl($module = self::DEFAULT_MODULE, $controller = self::DEFAULT_CONTROLLER, $params = array()) { $scheme = Request::getScheme() . '://'; $host = Request::getHttpHost(); $url = $this->getUrl($module, $controller, $params); return $scheme . $host . $url; }