'Get a configuration setting for the current table
@param key: the setting key
@param default: fallback value if the setting is not available'

def _config(self, key, default=None):

    tablename = self.tablename
    if tablename:
        return current.s3db.get_config(tablename, key, default)
    else:
        return default
