elemento)) { if (!empty($_SESSION["utente"]->oe)) { $oe = true; $elenco = publicAlboCommissione::init($this->elemento); } else { $oe = false; $elenco = AlboCommissione::init($this->elemento); } if (!empty($elenco)) { if (!$oe) { $return = true; $this->lock = $elenco->checkLock("dgue"); } $time = time(); if (!empty($elenco->info["pubblicazione"])) { $time = strtotime($elenco->info["pubblicazione"]); } if (empty($this->selectedCriteria())) { $this->version = DGUE::findVersion($time); } $this->oggetto = $elenco->info["oggetto"]; $this->descrizione = $elenco->info["descrizione"]; $ente = Ente::getInfoFromID($elenco->info["codice_ente"]); $this->ente = ! empty($ente) ? $ente[0]["denominazione"] : null; $this->codice_fiscale_ente = ! empty($ente) ? $ente[0]["cf"] : null; if ($returnObject) { $return = $elenco; } } } ?>