public static function setReferer($uri = null)
    {
        if (empty($uri)) $uri = UrlHelper::getRequestUrl();
        CarteBlanche::getContainer()->get('session')->set('referer', $uri);
        return true;
    }
public static function setReferer($uri = null)
    {
        if (empty($uri)) $uri = UrlHelper::getRequestUrl();
        CarteBlanche::getContainer()->get('session')->set('referer', $uri);
        return true;
    }
public static function setReferer ( $ uri = null ) { if ( empty ( $ uri ) ) $ uri = UrlHelper :: getRequestUrl ( ) ; CarteBlanche :: getContainer ( ) -> get ( 'session' ) -> set ( 'referer' , $ uri ) ; return true ; }
Store the referer URL in session

@param   string $uri The referer URI to store
@return  bool
Store the referer URL in session