From 60cb21cd3dc58f34ec1b560d6a13ac6c16bf34fe Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Sat, 16 Jun 2012 14:17:15 +0530 Subject: [PATCH] Add useful get function to PMA_TableSearch --- libraries/TableSearch.class.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php index 8b3b2f14d2..14624009aa 100644 --- a/libraries/TableSearch.class.php +++ b/libraries/TableSearch.class.php @@ -105,6 +105,16 @@ class PMA_TableSearch $this->_loadTableInfo($this->_db, $this->_table); } + /** + * Returns Column names array + * + * @return array column names + */ + public function getColumnNames() + { + return $this->_columnNames; + } + /** * Gets all the columns of a table along with their types, collations * and whether null or not.