returns an array with all columns that make use of an index
e.g. index(col1, col2) would return col1, col2
/** * Test for getIndexedColumns * * @return void */ public function testGetIndexedColumns() { $table = 'PMA_BookMark'; $db = 'PMA'; $table = new Table($table, $db); $return = $table->getIndexedColumns(); $expect = array('`PMA`.`PMA_BookMark`.`column1`', '`PMA`.`PMA_BookMark`.`column3`', '`PMA`.`PMA_BookMark`.`column5`', '`PMA`.`PMA_BookMark`.`ACCESSIBLE`', '`PMA`.`PMA_BookMark`.`ADD`', '`PMA`.`PMA_BookMark`.`ALL`'); $this->assertEquals($expect, $return); }