'Return a representation function for dynamic table names,
renders the table name as a link to the table controller
@param c: the controller prefix
@param f: the function name
@returns: function'

@staticmethod
def s3_table_name_represent(c='default', f='table'):

    def represent(value):
        if (value and ('_' in value)):
            suffix = value.split('_', 1)[1]
            return A(value, _href=URL(c=c, f=f, args=[suffix]))
        else:
            return value
    return represent
