miaPartecipazione() ?? null; if (!empty($partecipazione) && $partecipazione["escluso"] == "N" && $partecipazione["conferma"] == "S") { $this->parent = $parent; $this->info = $asta; $this->partecipazione = $partecipazione; return $this; } return null; } public function ultimoRilancio() { $return = $this->parent->db->go("SELECT codice FROM b_offerte_gare WHERE tipo = 'asta' AND codice_partecipante = :partecipante ORDER BY codice DESC LIMIT 0,1",[":partecipante"=>$this->partecipazione["codice"]])->fetch(PDO::FETCH_COLUMN) ?? NULL; if (!empty($return)) { return $this->parent->db->go("SELECT * FROM b_offerte_gare WHERE codice = :codice",[":codice"=>$return])->fetch(PDO::FETCH_ASSOC); } } } ?>