In both of my hips, I did 3 weeks of in home PT (basic exercises, stretching). Then at 4 weeks, went to outpatient PT where the first thing they did was to put me on a spinning bike for 10 minutes, no resistance. They checked the settings for the seat, handlebars, etc. so that no stress was put on me. At first, it was problematic since I had no wind at all, and the seat was a bit uncomfortable, but that passed quickly.
I also did a bunch of exercises which included the four way leg lift, balancing and a whole bunch of core exercises. They had found that due to my condition, my abdominal muscles were much weaker than the rest of me. They set me on a whole bunch of abusive exercises which I continue to this day, so buff up that part of me. Towards the end of the 5 weeks of PT, I started doing leg presses on a machine (no free weights). I started at 180 lbs for 30 repetitions, by the time I left I was at 210 for 30.
I've since gone back to the gym, had one slight scare in that I strained my (non-operative) groin muscle doing 220 lbs on a different kind of leg press machine. I had to scale it back, since I want to be really conservative; I was doing 450 lbs before the surgery, but don't want the "I have to get back to where I was immediately" part of my personality take over. Nice 'n 'slow is what I want to do.
Hope that helped.