original_string: public function synchronizeAction()
      {
          $sourceId = $this->getSourceId();
  
          $batch = $this->loader->getTracker()->synchronizeSources($sourceId, $this->currentUser->getUserId());
  
          $title = sprintf($this->_('Synchronize the %s source.'),
                      $this->db->fetchOne("SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?", $sourceId));
          $this->_helper->batchRunner($batch, $title, $this->accesslog);
  
          $this->addSynchronizationInformation();
      }
code: public function synchronizeAction()
      {
          $sourceId = $this->getSourceId();
  
          $batch = $this->loader->getTracker()->synchronizeSources($sourceId, $this->currentUser->getUserId());
  
          $title = sprintf($this->_('Synchronize the %s source.'),
                      $this->db->fetchOne("SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?", $sourceId));
          $this->_helper->batchRunner($batch, $title, $this->accesslog);
  
          $this->addSynchronizationInformation();
      }
code_tokens: public function synchronizeAction ( ) { $ sourceId = $ this -> getSourceId ( ) ; $ batch = $ this -> loader -> getTracker ( ) -> synchronizeSources ( $ sourceId , $ this -> currentUser -> getUserId ( ) ) ; $ title = sprintf ( $ this -> _ ( 'Synchronize the %s source.' ) , $ this -> db -> fetchOne ( "SELECT gso_source_name FROM gems__sources WHERE gso_id_source = ?" , $ sourceId ) ) ; $ this -> _helper -> batchRunner ( $ batch , $ title , $ this -> accesslog ) ; $ this -> addSynchronizationInformation ( ) ; }
docstring: Synchronize survey status for the surveys in a source
docstring_tokens: Synchronize survey status for the surveys in a source