query('SELECT * FROM sharing_roles ORDER BY idrole'); json_data(array_map('present_sharing_role', $stmt->fetchAll()));