public function formGrid() { $table = new models\Table($this->data->id); $this->data->object = $table->getData(); $filter->nome = $this->data->nome; $this->data->query = $table->listByFilter($filter)->asQuery(); $this->render(); }