I've had several types of enclosed (approved for city backyards) composters.
This was the first: http://www.joyofworms.com/wp-content/uploads/2008/06/earth-machine-composter-jpg.jpg
You put stuff in the top, and the theory was that as it worked its way to the bottom, it would compost. It kinda worked; the easiest way to turn it was to churn it with a length of rebar. I also built a platform of cinder blocks to put it on so getting the finished product out was easier.
This was the second: http://mantis.com/global/mantis-compact-compostumbler/03.jpg
It worked (especially if one remembered to spin it every few days...), but since we were always adding new stuff to it, we never got finished compost, until we added one of these: http://p-fst2.pixstatic.com/525468d9697ab04f94004cb6._w.362_s.fit_.jpg.
We'd fill up the rotating bin, and then use the black plastic one to put stuff into until the rotating bin compost was ready for the garden.
(note to self...must learn how to put photos in to posts...)
ETA: I composted most all kitchen veg waste, as well as coffee grounds (w/paper filters), tea bags (with labels and staples), egg shells, shrimp, lobster and crab shells (you have to bury them in the middle, but they heat up the pile something fierce!), stale/moldy bread, cooked rice, raked up leaves. NEVER any diseased plants or weeds, and no fats, meats/bones, or dairy.