fetchValue(" select t.idZasob from `CRM_#CACHE_ACL_OBJECT` t where t.namespace = :namespace and t.idZasob IS NOT NULL ", [ ':namespace' => Api_WfsNs::toNamespace($typeName), ]); header('Content-Type: application/json'); echo json_encode([ 'type' => "success", 'msg' => "done", 'body' => [ 'selected' => $listSelectedState, 'totalSelected' => $totalSelected, 'tools' => $idAcl ? Route_UrlAction::getSelectedFeatureTools($idAcl, User::getLogin()) : [], ] ]); exit; } }