Information from: https://doc.nette.org/en/2.3/presenters Flow with presenters: startup() \ |-- execution action() / \ handle() |-- interaction / beforeRender() \ | render() |-- rendering / shutdown In action() can change other render method: This->setView("otherview") Termination presenters: - $presenter->terminate() - $presenter->sendTemplate() - $presenter->sendPayload() (e.g. AJAX) - $presenter->sendResponse($response) - throw new Nette\Application\BadRequestException (XXX) -> send code XXX (dfl 404) Redirect: redirect: external redirection forward: internal call to new action - $this->redirect("Presenter:Action", $id); - $this->redirect(301, "Presenter:Action", $id); - $this->redirectUrl("https://...") Persistant values: class PPresenter extends BasePresenter { /** @persistent */ public $lang; } $lang wordt automatisch meegegeven met parameters