protected function _queryIfTableExists($table, $query)
	{
		if ($this->db->tableExists($tableName))
		{
			$this->db->setQuery($query);
			$this->db->query();
		}
	}
protected function _queryIfTableExists($table, $query)
	{
		if ($this->db->tableExists($tableName))
		{
			$this->db->setQuery($query);
			$this->db->query();
		}
	}
protected function _queryIfTableExists ( $ table , $ query ) { if ( $ this -> db -> tableExists ( $ tableName ) ) { $ this -> db -> setQuery ( $ query ) ; $ this -> db -> query ( ) ; } }
Executes given query if given table exists

@param   string  $table  Given table
@param   string  $query  Query to execute
@return  void
Executes given query if given table exists