"OK", "id" => $nid]); } catch (Exception $ex) { sendJsonResp($ex->getMessage(), "ERROR"); }