2018-07-27 12:17:17 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
switch ($resource) {
|
2019-03-28 18:40:19 +01:00
|
|
|
// Elenco stati intervento per l'applicazione
|
2018-07-27 12:17:17 +02:00
|
|
|
case 'stati_intervento':
|
|
|
|
$table = 'in_statiintervento';
|
|
|
|
|
|
|
|
$select = [
|
|
|
|
'*',
|
|
|
|
'id' => 'idstatointervento',
|
|
|
|
];
|
|
|
|
|
|
|
|
if (empty($where['deleted_at'])) {
|
|
|
|
$where['deleted_at'] = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return [
|
|
|
|
'stati_intervento',
|
|
|
|
];
|