How to connect a 3 legged photo transistor?

well it has 3 pins.. base, emitter and collector... now i presume i take an analog input from the collector, base to ground and emitter to supply. Is this right?