original_string: protected function _createTrack($filter, $tracker)
      {
          $trackData = array('gr2t_comment' => sprintf(
                          $this->_('Track created by %s filter'),
                          $filter->getName()
                          ));
  
          $fields    = array($filter->getFieldId() => $this->getId());
          $trackId   = $filter->getTrackId();
          $respTrack = $tracker->createRespondentTrack(
                  $this->getRespondentId(),
                  $this->getOrganizationId(),
                  $trackId,
                  $this->currentUser->getUserId(),
                  $trackData,
                  $fields
                  );
  
          return $respTrack;
      }
code: protected function _createTrack($filter, $tracker)
      {
          $trackData = array('gr2t_comment' => sprintf(
                          $this->_('Track created by %s filter'),
                          $filter->getName()
                          ));
  
          $fields    = array($filter->getFieldId() => $this->getId());
          $trackId   = $filter->getTrackId();
          $respTrack = $tracker->createRespondentTrack(
                  $this->getRespondentId(),
                  $this->getOrganizationId(),
                  $trackId,
                  $this->currentUser->getUserId(),
                  $trackData,
                  $fields
                  );
  
          return $respTrack;
      }
code_tokens: protected function _createTrack ( $ filter , $ tracker ) { $ trackData = array ( 'gr2t_comment' => sprintf ( $ this -> _ ( 'Track created by %s filter' ) , $ filter -> getName ( ) ) ) ; $ fields = array ( $ filter -> getFieldId ( ) => $ this -> getId ( ) ) ; $ trackId = $ filter -> getTrackId ( ) ; $ respTrack = $ tracker -> createRespondentTrack ( $ this -> getRespondentId ( ) , $ this -> getOrganizationId ( ) , $ trackId , $ this -> currentUser -> getUserId ( ) , $ trackData , $ fields ) ; return $ respTrack ; }
docstring: Create a new track for this appointment and the given filter
  
  @param \Gems\Agenda\AppointmentFilterInterface $filter
  @param \Gems_Tracker $tracker
docstring_tokens: Create a new track for this appointment and the given filter