original_string: public function tables()
  	{
  		$tables = array();
  		$sth = $this->queryForTables();
  
  		while (($row = $sth->fetch(PDO::FETCH_NUM)))
  			$tables[] = $row[0];
  
  		return $tables;
  	}
code: public function tables()
  	{
  		$tables = array();
  		$sth = $this->queryForTables();
  
  		while (($row = $sth->fetch(PDO::FETCH_NUM)))
  			$tables[] = $row[0];
  
  		return $tables;
  	}
code_tokens: public function tables ( ) { $ tables = array ( ) ; $ sth = $ this -> queryForTables ( ) ; while ( ( $ row = $ sth -> fetch ( PDO :: FETCH_NUM ) ) ) $ tables [ ] = $ row [ 0 ] ; return $ tables ; }
docstring: Returns all tables for the current database.
  
  @return array Array containing table names.
docstring_tokens: Returns all tables for the current database .