Jelix\Routing\ClientRequest::isAllowedResponse PHP Méthode

isAllowedResponse() public méthode

public isAllowedResponse ( Jelix\Routing\ServerResponse $response ) : boolean
$response Jelix\Routing\ServerResponse the response
Résultat boolean true if the given class is allowed for the current request
    public function isAllowedResponse($response)
    {
        return $response instanceof $this->authorizedResponseClass || ($c = get_class($response)) == 'jResponseRedirect' || $c == 'jResponseRedirectUrl';
    }