application/modules/g/views/helpers/Social.php
protected function _getCurrentUrl() {
        $url = $this->view->fullUrl($this->view->url());
        $quesPos = strpos($url, '?');
        if ($quesPos !== false) {
            $url = substr($url, 0, $quesPos);
        }
        return $url;
    }
protected function _getCurrentUrl() {
        $url = $this->view->fullUrl($this->view->url());
        $quesPos = strpos($url, '?');
        if ($quesPos !== false) {
            $url = substr($url, 0, $quesPos);
        }
        return $url;
    }
protected function _getCurrentUrl ( ) { $ url = $ this -> view -> fullUrl ( $ this -> view -> url ( ) ) ; $ quesPos = strpos ( $ url , '?' ) ; if ( $ quesPos !== false ) { $ url = substr ( $ url , 0 , $ quesPos ) ; } return $ url ; }
Returns current url, stripped of any possible url queries.

@return string
Returns current url stripped of any possible url queries .