Commit 9789f4c0 authored by Aurel's avatar Aurel

comment DomainGenerator class


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5738 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 671feaa6
......@@ -109,21 +109,21 @@ class Domain(Predicate, MetaNode, MetaResource):
# to prevent infinite recursion
pass
# Hand made temp object (rather than ERP5Type generated) because we need
# it now
class DomainGenerator(TempDomain):
"""
This class defines a predicate as well as all necessary
information to generate subdomains.
Instances are stored in RAM as temp objects
Generator API - DRAFT
"""
# We must overload objectValues and friends
def objectValues(self):
# We must return objects which are generated by the domain generator
return self.getDomainGeneratorList(depth = self.depth + 1)
# # Hand made temp object (rather than ERP5Type generated) because we need
# # it now
# class DomainGenerator(TempDomain):
# """
# This class defines a predicate as well as all necessary
# information to generate subdomains.
# Instances are stored in RAM as temp objects
# Generator API - DRAFT
# """
# # We must overload objectValues and friends
# def objectValues(self):
# # We must return objects which are generated by the domain generator
# return self.getDomainGeneratorList(depth = self.depth + 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment