original_string: function &MetaColumnNames($table, $numIndexes = false, $useattnum = false)
          {
                  $recordSet = $this->Execute("select name from system.columns where parent='$table'");
                  if(!$recordSet){
                          print $this->ErrorMsg();
                          return false;
                  }
                  else{
                          $i=0;
                          while (!$recordSet->EOF){
                                  $arr["FIELD$i"] = $recordSet->fields[0];
                                  $recordSet->MoveNext();
                                  $i=$i+1;
                          }
                          return $arr;
                  }
          }
code: function &MetaColumnNames($table, $numIndexes = false, $useattnum = false)
          {
                  $recordSet = $this->Execute("select name from system.columns where parent='$table'");
                  if(!$recordSet){
                          print $this->ErrorMsg();
                          return false;
                  }
                  else{
                          $i=0;
                          while (!$recordSet->EOF){
                                  $arr["FIELD$i"] = $recordSet->fields[0];
                                  $recordSet->MoveNext();
                                  $i=$i+1;
                          }
                          return $arr;
                  }
          }
code_tokens: function & MetaColumnNames ( $ table , $ numIndexes = false , $ useattnum = false ) { $ recordSet = $ this -> Execute ( "select name from system.columns where parent='$table'" ) ; if ( ! $ recordSet ) { print $ this -> ErrorMsg ( ) ; return false ; } else { $ i = 0 ; while ( ! $ recordSet -> EOF ) { $ arr [ "FIELD$i" ] = $ recordSet -> fields [ 0 ] ; $ recordSet -> MoveNext ( ) ; $ i = $ i + 1 ; } return $ arr ; } }
docstring: Returns an array of columns names for a given table
docstring_tokens: Returns an array of columns names for a given table