Files
luos/workflow/engine/methods/cases/casesMenuHighlight.php
Paula Quispe f18e475196 PMCORE-3104
2021-08-23 17:11:43 -04:00

18 lines
442 B
PHP

<?php
use Illuminate\Support\Facades\DB;
use ProcessMaker\BusinessModel\Cases\CasesList;
use ProcessMaker\Model\Delegation;
// Get the user logged
$usrUid = $_SESSION['USER_LOGGED'];
// Instance the class
$casesList = new CasesList();
$response = [];
// Get highlight for all task list
$response = $casesList->atLeastOne($usrUid);
// Print the response in JSON format
header('Content-Type: application/json');
echo json_encode($response);