You could start with following the code back to the controller. Everything you need to know about the method is there.