original_string: public function getComponentType($name)
      {
          $types = $this->getComponentTypes();
          return empty($types[$name]) ? '' : $types[$name];
      }
code: public function getComponentType($name)
      {
          $types = $this->getComponentTypes();
          return empty($types[$name]) ? '' : $types[$name];
      }
code_tokens: public function getComponentType ( $ name ) { $ types = $ this -> getComponentTypes ( ) ; return empty ( $ types [ $ name ] ) ? '' : $ types [ $ name ] ; }
docstring: Returns a component type name
  @param string $name
  @return string
docstring_tokens: Returns a component type name