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): ...@@ -109,21 +109,21 @@ class Domain(Predicate, MetaNode, MetaResource):
# to prevent infinite recursion # to prevent infinite recursion
pass pass
# Hand made temp object (rather than ERP5Type generated) because we need # # Hand made temp object (rather than ERP5Type generated) because we need
# it now # # it now
class DomainGenerator(TempDomain): # class DomainGenerator(TempDomain):
""" # """
This class defines a predicate as well as all necessary # This class defines a predicate as well as all necessary
information to generate subdomains. # information to generate subdomains.
Instances are stored in RAM as temp objects # Instances are stored in RAM as temp objects
Generator API - DRAFT # Generator API - DRAFT
""" # """
# We must overload objectValues and friends # # We must overload objectValues and friends
def objectValues(self): # def objectValues(self):
# We must return objects which are generated by the domain generator # # We must return objects which are generated by the domain generator
return self.getDomainGeneratorList(depth = self.depth + 1) # 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