original_string: public function getColumnOfResults($col)
      {
          $new = array();
          foreach ((array)$this->results as $result) {
              if ($result instanceof Object)
                  $new[] = $result->$col;
              else if (is_array($result))
                  $new[] = $result[$col];
          }
          return $new;
      }
code: public function getColumnOfResults($col)
      {
          $new = array();
          foreach ((array)$this->results as $result) {
              if ($result instanceof Object)
                  $new[] = $result->$col;
              else if (is_array($result))
                  $new[] = $result[$col];
          }
          return $new;
      }
code_tokens: public function getColumnOfResults ( $ col ) { $ new = array ( ) ; foreach ( ( array ) $ this -> results as $ result ) { if ( $ result instanceof Object ) $ new [ ] = $ result -> $ col ; else if ( is_array ( $ result ) ) $ new [ ] = $ result [ $ col ] ; } return $ new ; }
docstring: Returns an array containing the value stored in the column specifed for each result
  
  @param string $col The column name to fetch
  
  @return array
docstring_tokens: Returns an array containing the value stored in the column specifed for each result