original_string: protected function getDropdownOptions()
      {
          $values = $this->getDropdownValues();
          $labels = $this->getDropdownLabels();
  
          // Make sure that labels are set for each value
          foreach ($values as $value) {
              if (isset($labels[ $value ])) continue;
  
              $labels[ $value ] = $value;
          }
  
          return array_intersect_key($labels, array_flip($values));
      }
code: protected function getDropdownOptions()
      {
          $values = $this->getDropdownValues();
          $labels = $this->getDropdownLabels();
  
          // Make sure that labels are set for each value
          foreach ($values as $value) {
              if (isset($labels[ $value ])) continue;
  
              $labels[ $value ] = $value;
          }
  
          return array_intersect_key($labels, array_flip($values));
      }
code_tokens: protected function getDropdownOptions ( ) { $ values = $ this -> getDropdownValues ( ) ; $ labels = $ this -> getDropdownLabels ( ) ; // Make sure that labels are set for each value foreach ( $ values as $ value ) { if ( isset ( $ labels [ $ value ] ) ) continue ; $ labels [ $ value ] = $ value ; } return array_intersect_key ( $ labels , array_flip ( $ values ) ) ; }
docstring: Returns dropdown options as an associative array with display labels for values.
  
  @return array
docstring_tokens: Returns dropdown options as an associative array with display labels for values .