Jelix\Routing\ClientRequest::isAllowedResponse PHP Метод

isAllowedResponse() публичный Метод

public isAllowedResponse ( Jelix\Routing\ServerResponse $response ) : boolean
$response Jelix\Routing\ServerResponse the response
Результат 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';
    }