BBQ sweet chicken

Anyone knows how to make that sweet BBQish chicken you get from restaurants?
Thanks.