public function getUrl($doRedirect = null)
    {
        if (null === $doRedirect) {
            $doRedirect = $this->useUrlRedirect;
        }

        if ($this->isRedirect() && $doRedirect) {
            return $this->getRedirect();
        }

        return $this->_url;
    }