original_string: private function _getColumns($table)
      {
          if (isset($this->_tables[$table])) {
              return $this->_tables[$table];
          };
          $this->_tables[$table] = false;
          if ($rows = $this->selectArray("PRAGMA table_info({$table})")) {
              $cols = array();
              foreach ($rows as $row) {
                  $cols[] = $row['name'];
              };
              if (count($cols) > 0) {
                  $this->_tables[$table] = $cols;
              };
          };
          return $this->_tables[$table];
      }
code: private function _getColumns($table)
      {
          if (isset($this->_tables[$table])) {
              return $this->_tables[$table];
          };
          $this->_tables[$table] = false;
          if ($rows = $this->selectArray("PRAGMA table_info({$table})")) {
              $cols = array();
              foreach ($rows as $row) {
                  $cols[] = $row['name'];
              };
              if (count($cols) > 0) {
                  $this->_tables[$table] = $cols;
              };
          };
          return $this->_tables[$table];
      }
code_tokens: private function _getColumns ( $ table ) { if ( isset ( $ this -> _tables [ $ table ] ) ) { return $ this -> _tables [ $ table ] ; } ; $ this -> _tables [ $ table ] = false ; if ( $ rows = $ this -> selectArray ( "PRAGMA table_info({$table})" ) ) { $ cols = array ( ) ; foreach ( $ rows as $ row ) { $ cols [ ] = $ row [ 'name' ] ; } ; if ( count ( $ cols ) > 0 ) { $ this -> _tables [ $ table ] = $ cols ; } ; } ; return $ this -> _tables [ $ table ] ; }
docstring: Get list of column names for a table
  
  Cached in $this to minimize I/O
  
  @param string $table Name of table to inspect
  
  @return array List of column names, false on failure
docstring_tokens: Get list of column names for a table