public function gotoURL($url, $base = true)
    {
        if ($base) {
            $url = $this->app->baseURL . $url;
        }

        $this->js('location.href="'.$url.'";');
    }
public function gotoURL($url, $base = true)
    {
        if ($base) {
            $url = $this->app->baseURL . $url;
        }

        $this->js('location.href="'.$url.'";');
    }
public function gotoURL ( $ url , $ base = true ) { if ( $ base ) { $ url = $ this -> app -> baseURL . $ url ; } $ this -> js ( 'location.href="' . $ url . '";' ) ; }
Using javascript location.href go to url

@param string $url
@param bool $base true
@return string
Using javascript location . href go to url