original_string: public function getCodeFields()
      {
          $fieldDef = $this->getTrackEngine()->getFieldsDefinition();
          $codes    = $this->tracker->getAllCodeFields();
          $results  = array_fill_keys($codes, null);
  
          $this->_ensureFieldData();
  
          foreach ($this->_fieldData as $id => $value) {
              if (!isset($codes[$id])) {
                  continue;
              }
  
              $fieldCode           = $codes[$id];
              $results[$fieldCode] = $value;
              $field               = $fieldDef->getFieldByCode($fieldCode);
              if (!is_null($field)) {
                  $results[$fieldCode] = $field->calculateFieldInfo($value, $this->_fieldData);
              }
          }
  
          return $results;
      }
code: public function getCodeFields()
      {
          $fieldDef = $this->getTrackEngine()->getFieldsDefinition();
          $codes    = $this->tracker->getAllCodeFields();
          $results  = array_fill_keys($codes, null);
  
          $this->_ensureFieldData();
  
          foreach ($this->_fieldData as $id => $value) {
              if (!isset($codes[$id])) {
                  continue;
              }
  
              $fieldCode           = $codes[$id];
              $results[$fieldCode] = $value;
              $field               = $fieldDef->getFieldByCode($fieldCode);
              if (!is_null($field)) {
                  $results[$fieldCode] = $field->calculateFieldInfo($value, $this->_fieldData);
              }
          }
  
          return $results;
      }
code_tokens: public function getCodeFields ( ) { $ fieldDef = $ this -> getTrackEngine ( ) -> getFieldsDefinition ( ) ; $ codes = $ this -> tracker -> getAllCodeFields ( ) ; $ results = array_fill_keys ( $ codes , null ) ; $ this -> _ensureFieldData ( ) ; foreach ( $ this -> _fieldData as $ id => $ value ) { if ( ! isset ( $ codes [ $ id ] ) ) { continue ; } $ fieldCode = $ codes [ $ id ] ; $ results [ $ fieldCode ] = $ value ; $ field = $ fieldDef -> getFieldByCode ( $ fieldCode ) ; if ( ! is_null ( $ field ) ) { $ results [ $ fieldCode ] = $ field -> calculateFieldInfo ( $ value , $ this -> _fieldData ) ; } } return $ results ; }
docstring: Return all possible code fields with the values filled for those that exist for this track,
  optionally with a prefix
  
  @return array code => value
docstring_tokens: Return all possible code fields with the values filled for those that exist for this track optionally with a prefix