Microweber\Providers\UrlManager::string PHP Method

string() public method

Returns the current url path, does not include the domain name.
public string ( boolean $skip_ajax = false ) : string
$skip_ajax boolean If true it will try to get the referring url from ajax request
return string the url string
    public function string($skip_ajax = false)
    {
        if ($skip_ajax == true) {
            $url = $this->current($skip_ajax);
        } else {
            $url = false;
        }
        $u1 = implode('/', $this->segment(-1, $url));
        return $u1;
    }