public function Paginacao($inicio, $fim)
 {
     try {
         $sql = "SELECT * FROM uteis LIMIT {$inicio},{$fim}";
         $stmt = $this->conexao->prepare($sql);
         $stmt->execute();
         $searchResults = array();
         while ($rs = $stmt->fetch(PDO::FETCH_OBJ)) {
             $temp = new Uteis();
             $temp->setIduteis($rs->iduteis);
             $temp->setImagem($rs->imagem);
             $temp->setTexto($rs->texto);
             $temp->setLink($rs->link);
             $temp->setOpcao($rs->opcao);
             array_push($searchResults, $temp);
         }
         return $searchResults;
     } catch (PDOException $e) {
         echo $e->getTraceAsString();
         $trace = $e->getTrace();
         echo "OCORREU UM ERRO na classe: '" . $trace[1]['class'] . "'<br>";
         echo "OCORREU UM ERRO na funcao: '" . $trace[1]['function'] . "'<br>";
         echo "OCORREU UM ERRO na linha: '" . $e->getLine() . "'<br>";
         echo "OCORREU UM ERRO do arquivo: '" . $e->getFile() . "'<br>";
     }
 }