original_string: public function indexAction()
      {
          if ($this->util->getMaintenanceLock()->isLocked()) {
              $this->addSnippet($this->maintenanceModeSnippets);
              return;
          }
  
          // Make sure to return to the forward screen
          $this->currentUser->setSurveyReturn();
  
          $request = $this->getRequest();
          $tracker = $this->loader->getTracker();
          $form    = $tracker->getAskTokenForm(array(
              'displayOrder' => array('element', 'description', 'errors'),
              'labelWidthFactor' => 0.8
              ));
  
          if ($request->isPost() && $form->isValid($request->getParams())) {
              $this->_forward('forward');
              return;
          }
  
          $form->populate($request->getParams());
          $this->displayTokenForm($form);
      }
code: public function indexAction()
      {
          if ($this->util->getMaintenanceLock()->isLocked()) {
              $this->addSnippet($this->maintenanceModeSnippets);
              return;
          }
  
          // Make sure to return to the forward screen
          $this->currentUser->setSurveyReturn();
  
          $request = $this->getRequest();
          $tracker = $this->loader->getTracker();
          $form    = $tracker->getAskTokenForm(array(
              'displayOrder' => array('element', 'description', 'errors'),
              'labelWidthFactor' => 0.8
              ));
  
          if ($request->isPost() && $form->isValid($request->getParams())) {
              $this->_forward('forward');
              return;
          }
  
          $form->populate($request->getParams());
          $this->displayTokenForm($form);
      }
code_tokens: public function indexAction ( ) { if ( $ this -> util -> getMaintenanceLock ( ) -> isLocked ( ) ) { $ this -> addSnippet ( $ this -> maintenanceModeSnippets ) ; return ; } // Make sure to return to the forward screen $ this -> currentUser -> setSurveyReturn ( ) ; $ request = $ this -> getRequest ( ) ; $ tracker = $ this -> loader -> getTracker ( ) ; $ form = $ tracker -> getAskTokenForm ( array ( 'displayOrder' => array ( 'element' , 'description' , 'errors' ) , 'labelWidthFactor' => 0.8 ) ) ; if ( $ request -> isPost ( ) && $ form -> isValid ( $ request -> getParams ( ) ) ) { $ this -> _forward ( 'forward' ) ; return ; } $ form -> populate ( $ request -> getParams ( ) ) ; $ this -> displayTokenForm ( $ form ) ; }
docstring: Ask the user for a token
  
  @return void
docstring_tokens: Ask the user for a token