public function init()
    {
        parent::init();

        $request = $this->getRequest();

        if (in_array($request->getActionName(), $this->tokenReturnActions)) {
            // Tell the system where to return to after a survey has been taken
            $this->currentUser->setSurveyReturn($request);
        }
    }
public function init()
    {
        parent::init();

        $request = $this->getRequest();

        if (in_array($request->getActionName(), $this->tokenReturnActions)) {
            // Tell the system where to return to after a survey has been taken
            $this->currentUser->setSurveyReturn($request);
        }
    }
public function init ( ) { parent :: init ( ) ; $ request = $ this -> getRequest ( ) ; if ( in_array ( $ request -> getActionName ( ) , $ this -> tokenReturnActions ) ) { // Tell the system where to return to after a survey has been taken $ this -> currentUser -> setSurveyReturn ( $ request ) ; } }
Initialize translate and html objects

Called from {@link __construct()} as final step of object instantiation.

@return void
Initialize translate and html objects