src/Mvc/ViewHelper.php
public function absoluteUrl($uri = null, $args = null)
    {
        if (isset($uri)) {
            $uri = '/'. ltrim($uri, "/");
            return $this->baseUrl() . $this->url->get($uri, $args);
        } else {
            return $this->baseUrl() . $this->url->getBaseUri();
        }
    }
public function absoluteUrl($uri = null, $args = null)
    {
        if (isset($uri)) {
            $uri = '/'. ltrim($uri, "/");
            return $this->baseUrl() . $this->url->get($uri, $args);
        } else {
            return $this->baseUrl() . $this->url->getBaseUri();
        }
    }
public function absoluteUrl ( $ uri = null , $ args = null ) { if ( isset ( $ uri ) ) { $ uri = '/' . ltrim ( $ uri , "/" ) ; return $ this -> baseUrl ( ) . $ this -> url -> get ( $ uri , $ args ) ; } else { return $ this -> baseUrl ( ) . $ this -> url -> getBaseUri ( ) ; } }
Gets absolute url

@return string
Gets absolute url