public function edit() { $this->layout->renderAjax('edit=' . $this->params['id']); $this->layout->unsetLayout(); }