I use Cyanogenmod profiles (on a Galaxy S2). I've created a couple of custom profiles, "Silent" and "Totally Silent", and I switch to them by doing a long press on the power button. But I've noticed ...
At work , i would prefer to set my phone in such a way that only the calls from my family group will ring , while all other contact calls should be silent. And later i should be able to switch it back ...