public function baseUrl() { if (is_string($this->uri)) { return $this->uri; } if (method_exists($this->uri, 'getBaseUrl')) { return $this->uri->getBaseUrl(); } }
public function baseUrl($params, Smarty_Internal_Template $template) { if (is_string($this->uri)) { return $this->uri; } if (method_exists($this->uri, 'getBaseUrl')) { return $this->uri->getBaseUrl(); } }