public function index() { $this->uses("hero"); $dd = new Hero(); $lis = Hero::consultaNomeColunas(); //$obs = array(); //foreach ($lis as $key => $ob) //$obs[$ob['id']] = $ob; //$dd->setId(2); //$dd->setPalavra("ABCD"); //$this->set("echo", Hero::htmlTable()); $this->set("infos", $lis); //$this->set("errors", $dd->getErrors()); }