public function formAcesso() { $model = new Transacao($this->data->id); $this->data->object = $model->getData(); $this->data->grupos = Grupo::create()->listAll()->asQuery()->getResult(); $this->data->direitos = Manager::getPerms()->getPerms(); $this->render(); }