public function tableExists($table)
	{
		$query = 'SHOW TABLES LIKE ' . str_replace('#__', $this->tablePrefix, $this->quote($table, false));
		$this->setQuery($query)->execute();

		return ($this->getAffectedRows() > 0) ? true : false;
	}
public function tableExists($table)
	{
		$query = 'SHOW TABLES LIKE ' . str_replace('#__', $this->tablePrefix, $this->quote($table, false));
		$this->setQuery($query)->execute();

		return ($this->getAffectedRows() > 0) ? true : false;
	}
public function tableExists ( $ table ) { $ query = 'SHOW TABLES LIKE ' . str_replace ( '#__' , $ this -> tablePrefix , $ this -> quote ( $ table , false ) ) ; $ this -> setQuery ( $ query ) -> execute ( ) ; return ( $ this -> getAffectedRows ( ) > 0 ) ? true : false ; }
Checks for the existance of a table

@param   string  $table  The table we're looking for
@return  bool
@since   2.0.0
Checks for the existance of a table