private function checkHandlerPermission(bool $ajax = true): void
	{
		if (!isset($this->allowedHandler[$this->presenter->getSignal()[1]])) {
			$this->presenter->terminate();
		}
		if ($ajax && !$this->presenter->isAjax()) {
			$this->presenter->terminate();
		}
	}
private function checkHandlerPermission(bool $ajax = true): void
	{
		if (!isset($this->allowedHandler[$this->presenter->getSignal()[1]])) {
			$this->presenter->terminate();
		}
		if ($ajax && !$this->presenter->isAjax()) {
			$this->presenter->terminate();
		}
	}
private function checkHandlerPermission ( bool $ ajax = true ) : void { if ( ! isset ( $ this -> allowedHandler [ $ this -> presenter -> getSignal ( ) [ 1 ] ] ) ) { $ this -> presenter -> terminate ( ) ; } if ( $ ajax && ! $ this -> presenter -> isAjax ( ) ) { $ this -> presenter -> terminate ( ) ; } }
Zkontroluje opravneni a pokud je nema, ukonci aplikaci
@param bool $ajax
@throws AbortException
Zkontroluje opravneni a pokud je nema ukonci aplikaci