openstamanager/modules/stati_intervento/api/retrieve.php

23 lines
386 B
PHP
Raw Normal View History

2018-07-27 12:17:17 +02:00
<?php
switch ($resource) {
// 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',
];