original_string: public function checkTokenAnswersAction()
      {
          $token       = $this->getToken();
          $where       = $this->db->quoteInto('gto_id_token = ?', $token->getTokenId());
          $batch = $this->loader->getTracker()->recalculateTokens(
                  'answersCheckToken__' . $token->getTokenId(),
                  $this->currentUser->getUserId(),
                  $where
                  );
          $batch->autoStart = true;
  
          $title = sprintf(
                  $this->_("Checking the token %s for answers."),
                  $token->getTokenId()
                  );
          $this->_helper->BatchRunner($batch, $title, $this->accesslog);
  
          $this->addSnippet('Survey\\CheckAnswersInformation',
                  'itemDescription', $this->_('This task checks one token for answers.')
                  );
      }
code: public function checkTokenAnswersAction()
      {
          $token       = $this->getToken();
          $where       = $this->db->quoteInto('gto_id_token = ?', $token->getTokenId());
          $batch = $this->loader->getTracker()->recalculateTokens(
                  'answersCheckToken__' . $token->getTokenId(),
                  $this->currentUser->getUserId(),
                  $where
                  );
          $batch->autoStart = true;
  
          $title = sprintf(
                  $this->_("Checking the token %s for answers."),
                  $token->getTokenId()
                  );
          $this->_helper->BatchRunner($batch, $title, $this->accesslog);
  
          $this->addSnippet('Survey\\CheckAnswersInformation',
                  'itemDescription', $this->_('This task checks one token for answers.')
                  );
      }
code_tokens: public function checkTokenAnswersAction ( ) { $ token = $ this -> getToken ( ) ; $ where = $ this -> db -> quoteInto ( 'gto_id_token = ?' , $ token -> getTokenId ( ) ) ; $ batch = $ this -> loader -> getTracker ( ) -> recalculateTokens ( 'answersCheckToken__' . $ token -> getTokenId ( ) , $ this -> currentUser -> getUserId ( ) , $ where ) ; $ batch -> autoStart = true ; $ title = sprintf ( $ this -> _ ( "Checking the token %s for answers." ) , $ token -> getTokenId ( ) ) ; $ this -> _helper -> BatchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> addSnippet ( 'Survey\\CheckAnswersInformation' , 'itemDescription' , $ this -> _ ( 'This task checks one token for answers.' ) ) ; }
docstring: Check the tokens for a single token
docstring_tokens: Check the tokens for a single token