original_string: public function getAllCodeFields()
      {
          static $fields = false; // Using static so it will be refreshed once per request
  
          if ($fields === false) {
              $fields = array();
              $model  = $this->createTrackClass('Model\\FieldMaintenanceModel');
              $rows   = $model->load(array('gtf_field_code IS NOT NULL'), array('gtf_field_code' => SORT_ASC));
  
              if ($rows) {
                  foreach ($rows as $row) {
                      $key = FieldsDefinition::makeKey($row['sub'], $row['gtf_id_field']);
                      $fields[$key] = $row['gtf_field_code'];
                  }
              }
          }
  
          return $fields;
      }
code: public function getAllCodeFields()
      {
          static $fields = false; // Using static so it will be refreshed once per request
  
          if ($fields === false) {
              $fields = array();
              $model  = $this->createTrackClass('Model\\FieldMaintenanceModel');
              $rows   = $model->load(array('gtf_field_code IS NOT NULL'), array('gtf_field_code' => SORT_ASC));
  
              if ($rows) {
                  foreach ($rows as $row) {
                      $key = FieldsDefinition::makeKey($row['sub'], $row['gtf_id_field']);
                      $fields[$key] = $row['gtf_field_code'];
                  }
              }
          }
  
          return $fields;
      }
code_tokens: public function getAllCodeFields ( ) { static $ fields = false ; // Using static so it will be refreshed once per request if ( $ fields === false ) { $ fields = array ( ) ; $ model = $ this -> createTrackClass ( 'Model\\FieldMaintenanceModel' ) ; $ rows = $ model -> load ( array ( 'gtf_field_code IS NOT NULL' ) , array ( 'gtf_field_code' => SORT_ASC ) ) ; if ( $ rows ) { foreach ( $ rows as $ row ) { $ key = FieldsDefinition :: makeKey ( $ row [ 'sub' ] , $ row [ 'gtf_id_field' ] ) ; $ fields [ $ key ] = $ row [ 'gtf_field_code' ] ; } } } return $ fields ; }
docstring: Returns an array of all field id's for all tracks that have a code id
  
  @return array id => code
docstring_tokens: Returns an array of all field id s for all tracks that have a code id