public function get_columns($table) {
		$result = $this->get_table_definition($table);

		$columns = [];
		foreach ($result as $row) {
			$columns[] = &$row['Field'];
		}

		return $columns;
	}
public function get_columns($table) {
		$result = $this->get_table_definition($table);

		$columns = [];
		foreach ($result as $row) {
			$columns[] = &$row['Field'];
		}

		return $columns;
	}
public function get_columns ( $ table ) { $ result = $ this -> get_table_definition ( $ table ) ; $ columns = [ ] ; foreach ( $ result as $ row ) { $ columns [ ] = & $ row [ 'Field' ] ; } return $ columns ; }
Get all column names for a given table

@access public
@param string $table The table to fetch columns for
@return array $result An array containing the columns
Get all column names for a given table