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';
    }