src/Core/Startup/ParameterConfirmationToken.php
protected function backURLToken(HTTPRequest $request)
    {
        $backURL = $request->getVar('BackURL');
        if (!strstr($backURL, '?')) {
            return null;
        }

        // Filter backURL if it contains the given request parameter
        list(,$query) = explode('?', $backURL);
        parse_str($query, $queryArgs);
        $name = $this->getName();
        if (isset($queryArgs[$name])) {
            return $queryArgs[$name];
        }
        return null;
    }
protected function backURLToken(HTTPRequest $request)
    {
        $backURL = $request->getVar('BackURL');
        if (!strstr($backURL, '?')) {
            return null;
        }

        // Filter backURL if it contains the given request parameter
        list(,$query) = explode('?', $backURL);
        parse_str($query, $queryArgs);
        $name = $this->getName();
        if (isset($queryArgs[$name])) {
            return $queryArgs[$name];
        }
        return null;
    }
protected function backURLToken ( HTTPRequest $ request ) { $ backURL = $ request -> getVar ( 'BackURL' ) ; if ( ! strstr ( $ backURL , '?' ) ) { return null ; } // Filter backURL if it contains the given request parameter list ( , $ query ) = explode ( '?' , $ backURL ) ; parse_str ( $ query , $ queryArgs ) ; $ name = $ this -> getName ( ) ; if ( isset ( $ queryArgs [ $ name ] ) ) { return $ queryArgs [ $ name ] ; } return null ; }
Check if this token exists in the BackURL

@param HTTPRequest $request
@return string Value of token in backurl, or null if not in backurl
Check if this token exists in the BackURL