original_string: public function getColumns($table)
      {
          $table = str_replace("`", "", $table);
  
          $columns = Db::fetchAll("SHOW COLUMNS FROM `" . $table . "`");
  
          $columnNames = array();
          foreach ($columns as $column) {
              $columnNames[] = $column['Field'];
          }
  
          return $columnNames;
      }
code: public function getColumns($table)
      {
          $table = str_replace("`", "", $table);
  
          $columns = Db::fetchAll("SHOW COLUMNS FROM `" . $table . "`");
  
          $columnNames = array();
          foreach ($columns as $column) {
              $columnNames[] = $column['Field'];
          }
  
          return $columnNames;
      }
code_tokens: public function getColumns ( $ table ) { $ table = str_replace ( "`" , "" , $ table ) ; $ columns = Db :: fetchAll ( "SHOW COLUMNS FROM `" . $ table . "`" ) ; $ columnNames = array ( ) ; foreach ( $ columns as $ column ) { $ columnNames [ ] = $ column [ 'Field' ] ; } return $ columnNames ; }
docstring: Returns the list of column names for a table.
  
  @param string $table Prefixed table name.
  @return string[] List of column names..
docstring_tokens: Returns the list of column names for a table .