public function answerAction()
    {
        // Set menu OFF
        $this->menu->setVisible(false);

        $token    = $this->getToken();
        $snippets = $token->getAnswerSnippetNames();

        if ($snippets) {
            $this->setTitle(sprintf($this->_('Token answers: %s'), strtoupper($token->getTokenId())));

            $params = $this->_processParameters($this->answerParameters + $this->defaultTokenParameters);

            $this->addSnippets($snippets, $params);
        }
    }
public function answerAction()
    {
        // Set menu OFF
        $this->menu->setVisible(false);

        $token    = $this->getToken();
        $snippets = $token->getAnswerSnippetNames();

        if ($snippets) {
            $this->setTitle(sprintf($this->_('Token answers: %s'), strtoupper($token->getTokenId())));

            $params = $this->_processParameters($this->answerParameters + $this->defaultTokenParameters);

            $this->addSnippets($snippets, $params);
        }
    }
public function answerAction ( ) { // Set menu OFF $ this -> menu -> setVisible ( false ) ; $ token = $ this -> getToken ( ) ; $ snippets = $ token -> getAnswerSnippetNames ( ) ; if ( $ snippets ) { $ this -> setTitle ( sprintf ( $ this -> _ ( 'Token answers: %s' ) , strtoupper ( $ token -> getTokenId ( ) ) ) ) ; $ params = $ this -> _processParameters ( $ this -> answerParameters + $ this -> defaultTokenParameters ) ; $ this -> addSnippets ( $ snippets , $ params ) ; } }
Pops the answers to a survey in a separate window
Pops the answers to a survey in a separate window