public function listar($ordem = "ASC", $campo = self::ID) { $info = parent::listar($ordem, $campo); if (!empty($info)) { $temp = new Noticia($info[self::ID]); parent::resgatarObjetos($info); $temp->setData(new DataHora($info[self::DATA])); $temp->setURL($info[parent::URL]); $temp->setTexto($info[parent::TEXTO]); return $temp; } }