protected function afterRender() { parent::afterRender(); if ($this->isAjax()) { // Redraw default snippets if enabled $this->redrawDefault(); } else { $this->template->flashSession = $this->exportFlashSession(); } }
protected function afterRender() { parent::afterRender(); $this->template->title = $this->title; $this->template->tab = $this->tab; if ($this->isAjax()) { if (!$this->isSignalled() && !$this->isControlInvalid()) { $this->redrawControl('content'); $this->payload->title = $this->title; $this->payload->tab = $this->tab; } } }
protected function afterRender() { parent::afterRender(); if ($this->getModal()->isRequested() and !$this->isControlInvalid()) { $this->redrawControl("modalTitle"); $this->redrawControl("modalContent"); } else { if ($this->isAjax() and !$this->isControlInvalid() and $this->layout !== false) { $this->redrawControl("title"); $this->redrawControl("content"); $this->redrawControl("styles"); $this->redrawControl("scripts"); } } }
public function afterRender() { parent::afterRender(); $this->template->active = $this->active; }
protected function afterRender() { parent::afterRender(); if ($this->getParameter('_redirectByAjax', FALSE)) { $this->payload->url = $this->link('this'); } }
protected function afterRender() { parent::afterRender(); $this->terminate(); }
protected function afterRender() { parent::afterRender(); $this->template->siteTitle = $this->context->parameters['siteTitle']; }