public function tables()
	{
		$tables = array();
		$sth = $this->queryForTables();

		while (($row = $sth->fetch(PDO::FETCH_NUM)))
			$tables[] = $row[0];

		return $tables;
	}
public function tables()
	{
		$tables = array();
		$sth = $this->queryForTables();

		while (($row = $sth->fetch(PDO::FETCH_NUM)))
			$tables[] = $row[0];

		return $tables;
	}
public function tables ( ) { $ tables = array ( ) ; $ sth = $ this -> queryForTables ( ) ; while ( ( $ row = $ sth -> fetch ( PDO :: FETCH_NUM ) ) ) $ tables [ ] = $ row [ 0 ] ; return $ tables ; }
Returns all tables for the current database.

@return array Array containing table names.
Returns all tables for the current database .