Model.php
final public function doShow($id)
    {
        $this->db->query('SELECT * FROM '.$this->table.' WHERE id = :id', [':id'=>$id]);
        $result = $this->db->result();
        return $result ? $result : false;
    }
final public function doShow($id)
    {
        $this->db->query('SELECT * FROM '.$this->table.' WHERE id = :id', [':id'=>$id]);
        $result = $this->db->result();
        return $result ? $result : false;
    }
final public function doShow ( $ id ) { $ this -> db -> query ( 'SELECT * FROM ' . $ this -> table . ' WHERE id = :id' , [ ':id' => $ id ] ) ; $ result = $ this -> db -> result ( ) ; return $ result ? $ result : false ; }
Lista o selecionado
Lista o selecionado