public function getReferrer(ControllerContextModel $context)
    {
        if($context->request->cookies->has($this->_cookie_name))
        {
            $referrer = $context->request->cookies->get($this->_cookie_name, 'url');
            $referrer = $this->getObject('lib:http.url', array('url' => $referrer));
        }
        else $referrer = $this->findReferrer($context);

        return $referrer;
    }