docs: def getLayoutNames(self):
  		"""This function returns the list of layouts for the current db."""
  
  		if self._db == '':
  			raise FMError, 'No database was selected'
  
  		request = []
  		request.append(uu({'-db': self._db }))
  		request.append(uu({'-layoutnames': '' }))
  
  		result = self._doRequest(request)
  		result = FMResultset.FMResultset(result)
  
  		layoutNames = []
  		for layoutName in result.resultset:
  			layoutNames.append(string.lower(layoutName['LAYOUT_NAME']))
  
  		return layoutNames