Files
luos/workflow/engine/methods/cases/casesMenuHighlight.php

18 lines
442 B
PHP
Raw Normal View History

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