public function getDomain()
    {
        $uri = $this->getServiceLocator()->get('Application')->getMvcEvent()->getRequest()->getUri();
        return sprintf('%s://%s', $uri->getScheme(), $uri->getHost());
    }
public function getDomain()
    {
        $uri = $this->getServiceLocator()->get('Application')->getMvcEvent()->getRequest()->getUri();
        return sprintf('%s://%s', $uri->getScheme(), $uri->getHost());
    }
public function getDomain ( ) { $ uri = $ this -> getServiceLocator ( ) -> get ( 'Application' ) -> getMvcEvent ( ) -> getRequest ( ) -> getUri ( ) ; return sprintf ( '%s://%s' , $ uri -> getScheme ( ) , $ uri -> getHost ( ) ) ; }
Returns the current URL of the page
@return string
Returns the current URL of the page