Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
31 righe
1023 B
31 righe
1023 B
<? |
|
$return = false; |
|
if (!empty($this->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; } |
|
} |
|
} |
|
?>
|
|
|